We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug postgre 无法完成迁移
To Reproduce
./go-admin migrate -c config/settings.dev.yml
Expected behavior
[20.893ms] [rows:0] CREATE TABLE "sys_migration" ("version" text,"apply_time" timestamptz,PRIMARY KEY ("version")) 2022-06-28 00:26:32.958+0800 file:[email protected]/callbacks.go:133 level:trace /Users/ccc/Work/go/go-admin/cmd/migrate/migration/init.go:49 cannot convert 1599190683659 to Text [0.921ms] [rows:0] SELECT count(*) FROM "sys_migration" WHERE version = 1599190683659 2022/06/28 00:26:32 cannot convert 1599190683659 to Text
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered:
same to #643 @wenjianzhang
Sorry, something went wrong.
试了 #597 的方法,还是报错。
应该是字段问题,如果是pgsql的话尝试把sys_migration中 version修改为string 类型 试试
No branches or pull requests
Describe the bug
postgre 无法完成迁移
To Reproduce
Expected behavior
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: