I using flask-migrate with PostgreSQL, when I execute python manage.py db upgrade
command it will generate alembic_version table in public schema. How can I change the default schema when generate the alembic_version table?
There is a version_table_schema argument to the configure()
call. You can edit this in the env.py
file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With