yogthos/migratus

Migratus running migrations already marked as ran

Ouverte

#206 ouverte le 8 nov. 2021

 (5 commentaires) (0 réaction) (0 personne assignée)Clojure (99 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (686 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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?

Guide contributeur