mrrichardasmith / family_vote

Voting for the Democratic Family
0 stars 0 forks source link

Initialise Database from Models #14

Open mrrichardasmith opened 2 years ago

mrrichardasmith commented 2 years ago

As a developer wanting to initialize a database according to the models declared Given that the models have been created When a db file should be generated matching the classes created in the models Then run the python commands used to create a db file

mrrichardasmith commented 2 years ago

$python

from app import db

db.create_all()