migratus icon indicating copy to clipboard operation
migratus copied to clipboard

MIGRATE ALL THE THINGS!

Results 28 migratus issues
Sort by recently updated
recently updated
newest added

The following `init.sql` fails for MySQL: ```sql create table foo (id int not null auto_increment primary key); --;; create table baz (id int not null auto_increment primary key); ``` Error...

enhancement
help wanted

A migration like ``` select 2; -- Thing ``` will fail with the error ``` 2022-01-13T18:58:54.278Z Skrutten ERROR [migratus.migration.sql:326] - failed to execute command: select 2; -- Thing 2022-01-13T18:58:54.278Z Skrutten...

help wanted
bug

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....

enhancement
help wanted

Right now you can only down migrations by a specific id(s). Sometimes, I want to rollback to a specific point similar to going up to a specific point via `migratus.core/migrate-until-just-before`....

enhancement
help wanted

The documentation states : `Run 'down' for the last migration that was run.` Which would mean it should roll back the last migration that was **applied**. Instead, I find that...

enhancement
help wanted

If there's an error connecting to the database and the connection is configured with a connection URI, the entire connection URI is printed to the logs. Like so: ``` Error...

enhancement

Use case: for CLJ migrations it makes sense to put the CLJ files among with the SQL and EDN files or in a subdirectory within the migrations directory. Right now...

When a migration file has a dot in the filename, migratus fails with some very unhelpful exceptions. I ran into this while working on a new luminus project and spent...

enhancement

First, Migratus has been great. Tight and simple migration tool. Having said that, I would like the ability to create the database itself. Currently, AFAIK, the user must initialize the...

enhancement

It would be useful to be able to define multiple databases and migrate them from lein. For instance if the :migratus key in lein had multiple :db keys and you...

enhancement
help wanted