[FAQ] golang-migrate/migrate error: migration failed in line 0: (details: Error 1065: Query was emp

 

当我们使用 migrate create 创建了迁移文件。

 

没有及时填写内容,此时运行 migrate 的后续命令比如 up、down 会抛出错误:

 

error: migration failed in line 0:  (details: Error 1065: Query was empty)

 

Ref:https://github.com/golang-migrate/migrate/issues/244

Link:https://www.cnblogs.com/farwish/p/14221011.html

上一篇:1065 A+B and C (64bit) (20分)


下一篇:1065 A+B and C (64bit) (20分)