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: remove unused seed data (#2369)
Yilong Lib614915fa826
diff --git a/store/demo/dev/10090__pipeline.sql b/store/demo/dev/10090__pipeline.sqlindex a5825fe6cb..1cab63b163 100644--- a/store/demo/dev/10090__pipeline.sql+++ b/store/demo/dev/10090__pipeline.sql@@ -188,48 +188,4 @@ VALUES'OPEN');--- Pipeline for task dependency-INSERT INTO- pipeline (- id,- creator_id,- created_ts,- updater_id,- updated_ts,- name,- status- )-VALUES- (- 9010,- 1,- 1624879944,- 1,- 1624879944,- 'Pipeline - Task Dependency',- 'OPEN'- );---- Pipeline for PITR tasks-INSERT INTO- pipeline (- id,- creator_id,- created_ts,- updater_id,- updated_ts,- name,- status- )-VALUES- (- 9011,- 1,- 1652429962,- 1,- 1652429962,- 'Pipeline - PITR',- 'OPEN'- );--ALTER SEQUENCE pipeline_id_seq RESTART WITH 9012;+ALTER SEQUENCE pipeline_id_seq RESTART WITH 9010;diff --git a/store/demo/dev/10100__stage.sql b/store/demo/dev/10100__stage.sqlindex 35a69a0a85..7cb971f27a 100644--- a/store/demo/dev/10100__stage.sql+++ b/store/demo/dev/10100__stage.sql@@ -363,52 +363,4 @@ VALUES'Prod');--- Stage for task dependency-INSERT INTO- stage (- id,- creator_id,- created_ts,- updater_id,- updated_ts,- pipeline_id,- environment_id,- name- )-VALUES- (- 10017,- 1,- 1624865387,- 1,- 1624865387,- 9010,- 5001,- 'Dev'- );---- Stage for task dependency-INSERT INTO- stage (- id,- creator_id,- created_ts,- updater_id,- updated_ts,- pipeline_id,- environment_id,- name- )-VALUES- (- 10018,- 1,- 1652429962,- 1,- 1652429962,- 9011,- 5001,- 'Dev'- );--ALTER SEQUENCE stage_id_seq RESTART WITH 10019;+ALTER SEQUENCE stage_id_seq RESTART WITH 10017;diff --git a/store/demo/dev/10110__task.sql b/store/demo/dev/10110__task.sqlindex 7e8423d070..c0dde9ca79 100644--- a/store/demo/dev/10110__task.sql+++ b/store/demo/dev/10110__task.sql@@ -518,122 +518,4 @@ VALUES'{"migrationType":"MIGRATE","statement":"CREATE TABLE testdb_prod.tbl2 (name TEXT);"}');--- Tasks for task dependency, which is a gh-ost migration pipeline-INSERT INTO- task (- id,- creator_id,- updater_id,- pipeline_id,- stage_id,- instance_id,- database_id,- name,- type,- status,- payload- )-VALUES- (- 11017,- 1,- 1,- 9010,- 10017,- 6001,- 7002,- 'Update testdb_dev gh-ost sync',- 'bb.task.database.schema.update.ghost.sync',- 'PENDING_APPROVAL',- '{"statement":"ALTER TABLE tbl1 ENGINE=InnoDB;"}'- );--INSERT INTO- task (- id,- creator_id,- updater_id,- pipeline_id,- stage_id,- instance_id,- database_id,- name,- type,- status,- payload- )-VALUES- (- 11018,- 1,- 1,- 9010,- 10017,- 6001,- 7002,- 'Update testdb_dev gh-ost cutover',- 'bb.task.database.schema.update.ghost.cutover',- 'PENDING_APPROVAL',- '{}'- );---- Tasks for PITR pipeline-INSERT INTO- task (- id,- creator_id,- updater_id,- pipeline_id,- stage_id,- instance_id,- database_id,- name,- type,- status,- payload- )-VALUES- (- 11019,- 1,- 1,- 9011,- 10018,- 6001,- 7002,- 'Restore PITR database testdb_dev',- 'bb.task.database.restore.pitr.restore',- 'PENDING_APPROVAL',- '{"projectId":3001,"pointInTimeTs":1652429962}'- );--INSERT INTO- task (- id,- creator_id,- updater_id,- pipeline_id,- stage_id,- instance_id,- database_id,- name,- type,- status,- payload- )-VALUES- (- 11020,- 1,- 1,- 9011,- 10018,- 6001,- 7002,- 'Swap PITR and the original database testdb_dev',- 'bb.task.database.restore.pitr.cutover',- 'PENDING_APPROVAL',- '{}'- );--ALTER SEQUENCE task_id_seq RESTART WITH 11021;+ALTER SEQUENCE task_id_seq RESTART WITH 11017;diff --git a/store/demo/dev/10111__task_dag.sql b/store/demo/dev/10111__task_dag.sqlindex 6c8c805ca4..1bcd701318 100644--- a/store/demo/dev/10111__task_dag.sql+++ b/store/demo/dev/10111__task_dag.sql@@ -1,29 +1 @@--- task_dag for gh-ost-INSERT INTO- task_dag (- id,- from_task_id,- to_task_id- )-VALUES- (- 11101,- 11017,- 11018- );---- task_dag for PITR tasks-INSERT INTO- task_dag (- id,- from_task_id,- to_task_id- )-VALUES- (- 11102,- 11019,- 11020- );--ALTER SEQUENCE task_dag_id_seq RESTART WITH 11103;+ALTER SEQUENCE task_dag_id_seq RESTART WITH 11101;diff --git a/store/demo/dev/10130__issue.sql b/store/demo/dev/10130__issue.sqlindex 1594142841..e05fb1e987 100644--- a/store/demo/dev/10130__issue.sql+++ b/store/demo/dev/10130__issue.sql@@ -274,60 +274,4 @@ VALUES102);--- Issue for task dependency-INSERT INTO- issue (- id,- creator_id,- updater_id,- project_id,- pipeline_id,- name,- status,- type,- description,- assignee_id- )-VALUES- (- 13010,- 1,- 1,- 3001,- 9010,- 'Hello gh-ost!',- 'OPEN',- 'bb.issue.database.schema.update.ghost',- 'This issue is to demonstrate gh-ost integration.',- 101- );---- Issue for PITR-INSERT INTO- issue (- id,- creator_id,- updater_id,- project_id,- pipeline_id,- name,- status,- type,- description,- assignee_id- )-VALUES- (- 13011,- 1,- 1,- 3001,- 9011,- 'Hello PITR!',- 'OPEN',- 'bb.issue.database.restore.pitr',- 'This issue is to demonstrate PITR.',- 101- );-ALTER SEQUENCE issue_id_seq RESTART WITH 13012;