This commit is contained in:
Ember Moth
2026-07-05 22:35:53 +08:00
parent 4ffdc89421
commit 5de9508963
83 changed files with 33 additions and 1033 deletions
-6
View File
@@ -1,4 +1,3 @@
-- migrate:up
-- 添加 algo 列(如果不存在)
SET @dbname = DATABASE();
SET @tablename = 'user';
@@ -35,8 +34,3 @@ PREPARE stmt FROM @sql;
EXECUTE stmt;
DEALLOCATE PREPARE stmt;
-- migrate:down
ALTER TABLE `user`
DROP COLUMN `algo`,
DROP COLUMN `salt`;