sihl icon indicating copy to clipboard operation
sihl copied to clipboard

Allow .sql files for migrations

Open joseferben opened this issue 4 years ago • 0 comments

Currently it is only possible to register migrations as data.

It should be possible to create 1_up.sql and 1_down.sql and so on in database/. The migrations should be registered under a configurable namespace, the default could be something like app.

We don't want timestamps in the migration file names to end up with merge conflicts that need to be resolved.

Consider implementing this first: https://github.com/oxidizing/sihl/issues/387

joseferben avatar Feb 26 '21 07:02 joseferben