feat(server): cmd/migrate up 接入 codes 库自建迁移(ApplyCodesLibMigrations)(#codes-lib)
顺带修 000020 sqlite 索引名冲突:ALTER TABLE RENAME 不会带着重命名索引, legacy_codes 上遗留的 idx_codes_status 与 codes 库自己迁移里同名索引撞名, 一并改成 idx_legacy_codes_status(up/down 对称)。
This commit is contained in:
@@ -17,6 +17,7 @@ require (
|
||||
github.com/testcontainers/testcontainers-go v0.43.0
|
||||
github.com/testcontainers/testcontainers-go/modules/mysql v0.43.0
|
||||
github.com/testcontainers/testcontainers-go/modules/redis v0.43.0
|
||||
github.com/wangjia/codes v0.0.0-00010101000000-000000000000
|
||||
golang.org/x/crypto v0.52.0
|
||||
golang.org/x/term v0.43.0
|
||||
google.golang.org/grpc v1.81.1
|
||||
|
||||
Reference in New Issue
Block a user