[FAQ] golang-migrate/migrate error: migration failed in line 0: (details: Error 1065: Query was empty)
当我们使用 migrate create 创建了迁移文件。
没有及时填写内容,此时运行 migrate 的后续命令比如 up、down 会抛出错误:
error: migration failed in line 0: (details: Error 1065: Query was empty)