feat: 归档旧迁移文件,创建初始化数据迁移和重置脚本
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
-- 回滚:恢复全局索引,删除 carrier 复合索引
|
||||
DROP INDEX IF EXISTS idx_iot_card_standalone_shop_carrier_created;
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_iot_card_global_created_at
|
||||
ON tb_iot_card (created_at DESC)
|
||||
WHERE deleted_at IS NULL;
|
||||
|
||||
ANALYZE tb_iot_card;
|
||||
Reference in New Issue
Block a user