Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: no issue assignee (#15405)
Danny Xue7b48fe017e2
diff --git a/backend/migrator/migration/3.5/0008##issue_assignee.sql b/backend/migrator/migration/3.5/0008##issue_assignee.sqlnew file mode 100644index 0000000000..255a536aaf--- /dev/null+++ b/backend/migrator/migration/3.5/0008##issue_assignee.sql@@ -0,0 +1,2 @@+ALTER TABLE issue DROP COLUMN IF EXISTS assignee_id;+ALTER TABLE issue DROP COLUMN IF EXISTS assignee_need_attention;diff --git a/backend/migrator/migration/LATEST.sql b/backend/migrator/migration/LATEST.sqlindex f2ad7d362b..806ddc2a11 100644--- a/backend/migrator/migration/LATEST.sql+++ b/backend/migrator/migration/LATEST.sql@@ -323,8 +323,6 @@ CREATE TABLE issue (status text NOT NULL CHECK (status IN ('OPEN', 'DONE', 'CANCELED')),type text NOT NULL CHECK (type LIKE 'bb.issue.%'),description text NOT NULL DEFAULT '',- assignee_id integer REFERENCES principal(id),- assignee_need_attention boolean NOT NULL DEFAULT FALSE,payload jsonb NOT NULL DEFAULT '{}',ts_vector tsvector);@@ -337,8 +335,6 @@ CREATE INDEX idx_issue_pipeline_id ON issue(pipeline_id);CREATE INDEX idx_issue_creator_id ON issue(creator_id);-CREATE INDEX idx_issue_assignee_id ON issue(assignee_id);-CREATE INDEX idx_issue_ts_vector ON issue USING GIN(ts_vector);ALTER SEQUENCE issue_id_seq RESTART WITH 101;diff --git a/backend/migrator/migrator_test.go b/backend/migrator/migrator_test.goindex 8ad338f6c7..14001668ca 100644--- a/backend/migrator/migrator_test.go+++ b/backend/migrator/migrator_test.go@@ -212,5 +212,5 @@ func TestMigrationCompatibility(t *testing.T) {func TestGetCutoffVersion(t *testing.T) {releaseVersion, err := getProdCutoffVersion()require.NoError(t, err)- require.Equal(t, semver.MustParse("3.5.7"), releaseVersion)+ require.Equal(t, semver.MustParse("3.5.8"), releaseVersion)}