Open dantownsend opened 2 years ago
migrations migrate
? May be just run
?
Been using run
as a universal convention in my own "before piccolo" system, for migrations and background tasks. migrations run
is short and obvious.
piccolo migrations run
transit
or shift
? mutate
xD
The Piccolo migrations look something like this:
As pointed out in this comment, it's a bit confusing to have the function called
forwards
.What it actually does is return a
MigrationManager
instance. Whether we're running the migration forwards or backwards, we call that function to get theMigrationManager
instance.A more accurate name for the function would be something like
migrate
. Any thoughts? Is there another better name? Or just leave as it is?