Run Alembic migrations on Google App Engine

后端 未结 3 1837
执笔经年
执笔经年 2021-01-05 10:43

I have a Flask app that uses SQLAlchemy (Flask-SQLAlchemy) and Alembic (Flask-Migrate). The app runs on Google App Engine. I want to use Google Cloud SQL.

On my mac

3条回答
  •  广开言路
    2021-01-05 11:22

    You can whitelist the ip of your local machine for the Google Cloud SQL instance, then you run the script on your local machine.

提交回复
热议问题