dbmigrate icon indicating copy to clipboard operation
dbmigrate copied to clipboard

Feature: programmatic migrations

Open dbkaplun opened this issue 6 years ago • 1 comments

Similar, but different from #26.

It would be great if there was the ability to create {up/down}.rs migrations alongside {up/down}.sql migrations. It is not uncommon to have data migrations, which are distinct from schema migrations. Using .rs (or even shell scripts) would make it possible to create migrations that SQL alone is incapable of.

Thanks for considering!

dbkaplun avatar Apr 13 '18 16:04 dbkaplun

Sorry, completely missed that issue. I'm not against the idea but am not sure how to implement it right now.

Keats avatar Aug 02 '18 09:08 Keats