yogthos/migratus

Migratus running migrations already marked as ran

开放

#206 创建于 2021年11月8日

 (5 条评论) (0 个反应) (0 位负责人)Clojure (99 个派生)github user discovery
enhancementhelp wanted

仓库指标

星标
 (686 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

I have this row in the schema_migrations table:

20210301103792 2021-09-07 18:00:32.904475 prototype-parirty-changes

and a file called 20210301103792-prototype-parirty-changes.up.sql

yet when I run lein migratus, it still tries to run this migration. How can I make it skip migrations that have already been run (in this case, manually)? What else besides a line in the schema_migrations table does it take and if it looks for some other signal, what is the point of this schema_migrations table?

贡献者指南