Skip to content

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

Remove “DELETED” from the migration type

天舟1cc322b3ff73
diff --git a/db/mysql_migration_schema.sql b/db/mysql_migration_schema.sql
index a33840c1d2..716c026672 100644
--- a/db/mysql_migration_schema.sql
+++ b/db/mysql_migration_schema.sql
@@ -51,7 +51,7 @@ CREATE TABLE bytebase.migration_history (
namespace TEXT NOT NULL,
-- Used to detect out of order migration together with 'namespace' and 'version' column.
sequence INTEGER UNSIGNED NOT NULL,
- `type` ENUM('BASELINE', 'SQL', 'SQL_ROLLBACK', 'DELETED') NOT NULL,
+ `type` ENUM('BASELINE', 'SQL', 'SQL_ROLLBACK') NOT NULL,
version TEXT NOT NULL,
description TEXT NOT NULL,
-- Recorded the migration statement