Closed stephen-kruger closed 7 years ago
I found the issue (stupid user error). My dbconfig .yaml was specifying a table and datasource db which were being manipulated by the migration scripts themselves.
So it leads me to a question : could sql-migrate not autocreate a db and schema based on the yaml config if it does not exist? If I specify non-existing values it generates an error.
Anyone have any idea why the scripts appear to be executing out of order? After running an "up" which fails and then sql-migrate status -env="schema" I get the following very odd status :
I am generating the migration scripts automatically, but I don't think there is anything out of order in my naming schema. Anyone have an idea?