inspira
inspira copied to clipboard
Add Support for --up Flag in Migration Process
feat: Add support for --up flag in migration process
- Updated
migrations.py
to handle the--up
flag for running upward migrations. - Modified
cli.py
to include a--up
flag in themigrate
command, allowing users to specify migration direction. - Ensured that the default behavior of the
inspira_migrate
command is to run down migrations unless the--up
flag is provided. - Checked for mutual exclusivity between
--up
and--down
flags to avoid conflicting directions.
These changes allow users to easily specify migration direction using the --up flag, " inspira_migrate --up" will run up migrations fixes issues #72