anitab-org / mentorship-backend

Mentorship System is an application that matches women in tech to mentor each other, on career development, through 1:1 relations during a certain period of time. This is the backend of this system.

Home Page:https://mentorship-backend-temp.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

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.

Self-assigning myself to this issue 😉. cc @epicadk and @vj-codes