Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: drop deployment config (#15441)

p0nybbf8ab4ec1bb
diff --git a/backend/migrator/migration/3.5/0011##drop_deployment_config.sql b/backend/migrator/migration/3.5/0011##drop_deployment_config.sql
new file mode 100644
index 0000000000..a4f8551daa
--- /dev/null
+++ b/backend/migrator/migration/3.5/0011##drop_deployment_config.sql
@@ -0,0 +1 @@
+DROP TABLE IF EXISTS deployment_config;
\ No newline at end of file
diff --git a/backend/migrator/migration/LATEST.sql b/backend/migrator/migration/LATEST.sql
index 7533e5bd50..3f1845ed7a 100644
--- a/backend/migrator/migration/LATEST.sql
+++ b/backend/migrator/migration/LATEST.sql
@@ -415,19 +415,6 @@ CREATE UNIQUE INDEX idx_anomaly_unique_project_instance_dn_name_type ON anomaly(
ALTER SEQUENCE anomaly_id_seq RESTART WITH 101;
--- Deployment Configuration.
--- deployment_config stores deployment configurations at project level.
-CREATE TABLE deployment_config (
- id serial PRIMARY KEY,
- project text NOT NULL REFERENCES project(resource_id),
- name text NOT NULL,
- config jsonb NOT NULL DEFAULT '{}'
-);
-
-CREATE UNIQUE INDEX idx_deployment_config_unique_project ON deployment_config(project);
-
-ALTER SEQUENCE deployment_config_id_seq RESTART WITH 101;
-
-- worksheet table stores worksheets in SQL Editor.
CREATE TABLE worksheet (
id serial PRIMARY KEY,
diff --git a/backend/migrator/migrator_test.go b/backend/migrator/migrator_test.go
index 6e0cca4e71..aa57faa124 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.10"), releaseVersion)
+ require.Equal(t, semver.MustParse("3.5.11"), releaseVersion)
}