You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2019. It is now read-only.
Arnold should have a command, such as: arnold generate my_migration_name that generates a base migration file for easy iteration.
My thoughts on this:
The name of the file becomes: $(date)_${migration_name}, but is customizable through an argument.
The template used is very generic by default, but specifying a custom template to be used with Jinja is also possible (or Mako, whichever templating language is nicer).
The custom template has access to some variables such as:
current date
migration name
full migration file name
Right now we have #26 pending, for creating an initial migration for a model, but there's to aid in creating future migrations for models.
Arnold should have a command, such as:
arnold generate my_migration_namethat generates a base migration file for easy iteration.My thoughts on this:
$(date)_${migration_name}, but is customizable through an argument.Right now we have #26 pending, for creating an initial migration for a model, but there's to aid in creating future migrations for models.