Commit Graph
7 Commits
Author SHA1 Message Date
zhangwenjian 3a96f37391 fix🐛: embed the seed SQL so migrate works outside the repository root
The seed scripts were read from ./config/ only, so migrating an empty database
failed anywhere that directory was absent, such as a container holding just
the binary and its settings. Embed them and prefer a file on disk when there
is one.
2026-10-07 17:32:42 +08:00
wenjianzhang 37a5963cd6 perf👌: Optimize go warnings 2023-08-01 22:38:41 +08:00
linwenxiang 25d8364bf4 修改,兼容go-admin sdk方案 2021-03-09 19:12:49 +08:00
linwenxiang 75711922b4 调整log代码,兼容zap扩展支持fields 2021-03-05 15:13:36 +08:00
linwenxiang 6bc3e6c00b 优化模版生成 2020-09-16 22:42:13 +08:00
zhangwenjian d4b87c78a7 feat:date migrate 2020-09-12 01:27:39 +08:00
linwenxiang 01ea376015 修改文件目录 2020-09-04 00:21:52 +08:00