Skip to content

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

chore: remove extra blank lines in LATEST.sql (#19669)

boojack2004598f3fef
diff --git a/backend/migrator/migration/LATEST.sql b/backend/migrator/migration/LATEST.sql
index 3f33404c77..6080d5478f 100644
--- a/backend/migrator/migration/LATEST.sql
+++ b/backend/migrator/migration/LATEST.sql
@@ -230,7 +230,6 @@ CREATE INDEX idx_plan_project ON plan(project);
CREATE INDEX idx_plan_creator ON plan(creator);
CREATE INDEX idx_plan_config_has_rollout ON plan ((config->>'hasRollout'));
-
CREATE TABLE plan_check_run (
id bigint NOT NULL,
created_at timestamptz NOT NULL DEFAULT now(),
@@ -247,8 +246,6 @@ CREATE TABLE plan_check_run (
CREATE UNIQUE INDEX idx_plan_check_run_unique_plan_id ON plan_check_run(project, plan_id);
CREATE INDEX idx_plan_check_run_active_status ON plan_check_run(status, id) WHERE status IN ('AVAILABLE', 'RUNNING');
-
-
-- Tracks webhook delivery for pipeline events (PIPELINE_FAILED or PIPELINE_COMPLETED).
-- One row per plan at any time - mutually exclusive events.
-- Row is deleted when user clicks BatchRunTasks to reset notification state.
@@ -288,8 +285,6 @@ CREATE UNIQUE INDEX idx_issue_unique_plan_id ON issue(project, plan_id);
CREATE INDEX idx_issue_creator ON issue(creator);
CREATE INDEX idx_issue_ts_vector ON issue USING GIN(ts_vector);
-
-
CREATE TABLE issue_comment (
resource_id text NOT NULL DEFAULT gen_random_uuid()::text,
creator text NOT NULL,
@@ -516,8 +511,6 @@ CREATE TABLE task (
CREATE INDEX idx_task_plan_id_environment ON task(project, plan_id, environment);
-
-
-- task run table stores the task run
CREATE TABLE task_run (
id bigint NOT NULL,
@@ -548,8 +541,6 @@ CREATE UNIQUE INDEX uk_task_run_task_id_attempt ON task_run(project, task_id, at
CREATE INDEX idx_task_run_active_status_id ON task_run(status, id) WHERE status IN ('PENDING', 'AVAILABLE', 'RUNNING');
CREATE INDEX idx_task_run_running_replica ON task_run(replica_id) WHERE status = 'RUNNING' AND replica_id IS NOT NULL;
-
-
-- replica_heartbeat tracks active replicas in HA deployments.
-- Used to detect and clean up stale RUNNING task runs from crashed replicas.
CREATE TABLE replica_heartbeat (