Due to additional data, I decided to reorganize the original SQLAlchemy database and start using multiple databases. Is there a way of changing the table name and adding a bind key to the original database? I searched through SQLAlchemy Migrate's documentation but I couldn't find anything. Thanks.
Asked
Active
Viewed 719 times
1
-
have u try this: $ flask db init --multidb, More details https://flask-migrate.readthedocs.io/en/latest/ – Anup May 30 '17 at 15:02
-
1Bind keys are a flask-sqlalchemy-specific thing and is not stored in the database. There's nothing to migrate. – univerio May 31 '17 at 02:01