You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Step 2: Update Schema from New Development using python db_init.py and SQLite3 Extension
Ensure db_init.py script contains the latest schema definitions.
Run the db_init.py script to update the SQLite database schema.
Not sure if this is completely correct, but this is a script for creating new versions of the three related tables in order to create new RDS database later on ...
The schema in this file should be directly edited to make changes in schema. The other way, is to directly change the schema in the model/user.py file and rerun the init_db.py file
Step 3: Connect to RDS and Create New Database with Schema
Connect to Your RDS Instance: Use a db client to connect to your RDS instance.
Create a New Database: Create a new database in RDS instance.
Step 1: Dump JSON from Old Database via API
fetch_data.py : https://github.com/nighthawkcoders/flask_2025/blob/main/scripts/fetch_data.py
Step 2: Update Schema from New Development using python db_init.py and SQLite3 Extension
Not sure if this is completely correct, but this is a script for creating new versions of the three related tables in order to create new RDS database later on ...
db_initi.py : https://github.com/nighthawkcoders/flask_2025/blob/main/scripts/db_init.py
The schema in this file should be directly edited to make changes in schema. The other way, is to directly change the schema in the model/user.py file and rerun the init_db.py file
Step 3: Connect to RDS and Create New Database with Schema
rds_init.py : https://github.com/nighthawkcoders/flask_2025/blob/main/scripts/rds_init.py
Step 4: Update JSON into New Database
update_data.py : https://github.com/nighthawkcoders/flask_2025/blob/main/scripts/update_data.py
Sciprts for migration should be run in this order :
The text was updated successfully, but these errors were encountered: