Write on README how to create and run db migration script
isabelcosta opened this issue · comments
Description
As a developer,
I need steps to create an Alembic migration script,
so that I can know how to create migration script and upgrade database schema version.
Write couple steps concisely on README to explain how to create and run migration script
tip: If you are inexperienced with alembic migrations, it might be worth it to try this out your self, by changing a property in a database model (sqlalchemy) and create script + upgrade/downgrade versions. If you use local
env variable, your db will be sqlite based, so easily deleted and created.
References:
- #335 this PR introduced support to flask migrate, so "how do I use it?" section might help with this.
- https://flask-migrate.readthedocs.io/en/latest/
Acceptance Criteria
Update [Required]
- Steps to do this are concisely explained on a separate README section
Definition of Done
- All of the required items are completed.
- Approval by 1 mentor.
Estimation
1 hours
@isabelcosta i would like to work on it.
Sure assigning you @nlok5923 : ). Good luck.