Skip to content

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

Remove SQL_ROLLBACK migration type

天舟7af5e215f129
diff --git a/db/mysql_migration_schema.sql b/db/mysql_migration_schema.sql
index 1eb3ed98b3..57ef70bc4c 100644
--- a/db/mysql_migration_schema.sql
+++ b/db/mysql_migration_schema.sql
@@ -53,7 +53,7 @@ CREATE TABLE bytebase.migration_history (
sequence INTEGER UNSIGNED NOT NULL,
-- We call it engine because maybe we could load history from other migration tool.
`engine` ENUM('UI', 'VCS') NOT NULL,
- `type` ENUM('BASELINE', 'SQL', 'SQL_ROLLBACK') NOT NULL,
+ `type` ENUM('BASELINE', 'SQL') NOT NULL,
version TEXT NOT NULL,
description TEXT NOT NULL,
-- Recorded the migration statement