Relative Content

Tag Archive for javascriptpythondatabaseflask-sqlalchemypopulate

How to load in new fields after Flask SQLAlchemy Database migration?

When initially setting up my application, I started with a database that had only two fields. After working on it, I wanted to expand that to eight fields. I went through the necessary steps, updating my app.py and script.js files and doing flask db init, flask db migrate, and flask db upgrade, and all went well.