Skip to content

Commit a1f5547

Browse files
committed
revert: 删除迁移脚本
1 parent 43ae7c9 commit a1f5547

File tree

2 files changed

+1
-55
lines changed

2 files changed

+1
-55
lines changed

internal/db/migrations/migration.go

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,5 @@ import (
66

77
func MigrateDatabase(db *gorm.DB) error {
88
// v1.0.13 修复请求日志数据
9-
if err := V1_0_13_FixRequestLogs(db); err != nil {
10-
return err
11-
}
12-
// v1.0.16 增加 key_value 字段长度
13-
if err := V1_0_16_IncreaseKeyValueLength(db); err != nil {
14-
return err
15-
}
16-
return nil
9+
return V1_0_13_FixRequestLogs(db)
1710
}

internal/db/migrations/v1.0.16_increase_key_value_length.go

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)