Skip to content

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

chore: remove code from plan_check_run (#7188)

p0nyf0abcc3cf4a7
diff --git a/backend/migrator/migration/dev/LATEST.sql b/backend/migrator/migration/dev/LATEST.sql
index fa761960b7..aa00a9dfaa 100644
--- a/backend/migrator/migration/dev/LATEST.sql
+++ b/backend/migrator/migration/dev/LATEST.sql
@@ -721,7 +721,6 @@ CREATE TABLE plan_check_run (
plan_id INTEGER NOT NULL REFERENCES plan (id),
status TEXT NOT NULL CHECK (status IN ('RUNNING', 'DONE', 'FAILED', 'CANCELED')),
type TEXT NOT NULL CHECK (type LIKE 'bb.plan-check.%'),
- code INTEGER NOT NULL DEFAULT 0,
config JSONB NOT NULL DEFAULT '{}',
result JSONB NOT NULL DEFAULT '{}',
payload JSONB NOT NULL DEFAULT '{}'
diff --git a/backend/migrator/migration/prod/2.5/0002##plan_check_run.sql b/backend/migrator/migration/prod/2.5/0002##plan_check_run.sql
index 50a15b9074..02e6bc12e6 100644
--- a/backend/migrator/migration/prod/2.5/0002##plan_check_run.sql
+++ b/backend/migrator/migration/prod/2.5/0002##plan_check_run.sql
@@ -7,7 +7,6 @@ CREATE TABLE plan_check_run (
plan_id INTEGER NOT NULL REFERENCES plan (id),
status TEXT NOT NULL CHECK (status IN ('RUNNING', 'DONE', 'FAILED', 'CANCELED')),
type TEXT NOT NULL CHECK (type LIKE 'bb.plan-check.%'),
- code INTEGER NOT NULL DEFAULT 0,
config JSONB NOT NULL DEFAULT '{}',
result JSONB NOT NULL DEFAULT '{}',
payload JSONB NOT NULL DEFAULT '{}'
diff --git a/backend/migrator/migration/prod/LATEST.sql b/backend/migrator/migration/prod/LATEST.sql
index 5ce6b3f12b..68f2c21fdf 100644
--- a/backend/migrator/migration/prod/LATEST.sql
+++ b/backend/migrator/migration/prod/LATEST.sql
@@ -720,7 +720,6 @@ CREATE TABLE plan_check_run (
plan_id INTEGER NOT NULL REFERENCES plan (id),
status TEXT NOT NULL CHECK (status IN ('RUNNING', 'DONE', 'FAILED', 'CANCELED')),
type TEXT NOT NULL CHECK (type LIKE 'bb.plan-check.%'),
- code INTEGER NOT NULL DEFAULT 0,
config JSONB NOT NULL DEFAULT '{}',
result JSONB NOT NULL DEFAULT '{}',
payload JSONB NOT NULL DEFAULT '{}'