Skip to content

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

Fix activity seed data

天舟d1da9b0e831f
diff --git a/store/seed/test/10120__task_run.sql b/store/seed/test/10120__task_run.sql
index 4d45a2941a..db24c500b0 100644
--- a/store/seed/test/10120__task_run.sql
+++ b/store/seed/test/10120__task_run.sql
@@ -22,7 +22,7 @@ VALUES
'Add initial schema 1624873710',
'DONE',
'bb.task.database.schema.update',
- 'Established baseline version %s for database ''shop''',
+ 'Established baseline version 202106280000 for database ''shop''',
'{"statement":"CREATE TABLE product (\n\tid INTEGER PRIMARY KEY AUTO_INCREMENT,\n\tname TEXT NOT NULL,\n\tdescription TEXT NOT NULL\n);\n","pushEvent":{"vcsType":"GITLAB_SELF_HOST","baseDir":"bytebase","ref":"refs/heads/master","repoId":"14","repoUrl":"http://gitlab.bytebase.com/bytebase-demo/shop","repoFullPath":"bytebase-demo/shop","authorName":"tianzhou","fileCommit":{"id":"da90a2510eccd051ad14e4b89ca904d733169a39","title":"Create product table","message":"Create product table","createdTs":1624873354,"url":"http://gitlab.bytebase.com/bytebase-demo/shop/-/commit/da90a2510eccd051ad14e4b89ca904d733169a39","authorName":"tianzhou","added":"bytebase/v1__shop__baseline__add_initial_schema.sql"}}}'
);
@@ -50,7 +50,7 @@ VALUES
'Add initial schema 1624883710',
'DONE',
'bb.task.database.schema.update',
- 'Established baseline version %s for database ''shop''',
+ 'Established baseline version 202106280000 for database ''shop''',
'{"statement":"CREATE TABLE product (\n\tid INTEGER PRIMARY KEY AUTO_INCREMENT,\n\tname TEXT NOT NULL,\n\tdescription TEXT NOT NULL\n);\n","pushEvent":{"vcsType":"GITLAB_SELF_HOST","baseDir":"bytebase","ref":"refs/heads/master","repoId":"14","repoUrl":"http://gitlab.bytebase.com/bytebase-demo/shop","repoFullPath":"bytebase-demo/shop","authorName":"tianzhou","fileCommit":{"id":"da90a2510eccd051ad14e4b89ca904d733169a39","title":"Create product table","message":"Create product table","createdTs":1624873354,"url":"http://gitlab.bytebase.com/bytebase-demo/shop/-/commit/da90a2510eccd051ad14e4b89ca904d733169a39","authorName":"tianzhou","added":"bytebase/v1__shop__baseline__add_initial_schema.sql"}}}'
);
diff --git a/store/seed/test/10140__activity.sql b/store/seed/test/10140__activity.sql
index 2683ce6a56..1e4ad12ff4 100644
--- a/store/seed/test/10140__activity.sql
+++ b/store/seed/test/10140__activity.sql
@@ -165,7 +165,7 @@ VALUES
13002,
'bb.pipeline.task.status.update',
'INFO',
- 'Established baseline version %s for database ''shop''',
+ 'Established baseline version 202106280000 for database ''shop''',
'{"taskId":11002,"oldStatus":"RUNNING","newStatus":"DONE"}'
);
@@ -219,7 +219,7 @@ VALUES
13002,
'bb.pipeline.task.status.update',
'INFO',
- 'Established baseline version %s for database ''shop''',
+ 'Established baseline version 202106280000 for database ''shop''',
'{"taskId":11003,"oldStatus":"RUNNING","newStatus":"DONE"}'
);