d323a7065c
Conflicts: app/create_database.py
18 lines
306 B
Python
18 lines
306 B
Python
from models import *
|
|
from app import db
|
|
|
|
db.drop_all()
|
|
db.create_all()
|
|
|
|
feli = User()
|
|
feli.configure("feliciaan", True, 0)
|
|
db.session.add(feli)
|
|
|
|
destro = User()
|
|
destro.configure('wout', True, 0)
|
|
db.session.add(destro)
|
|
|
|
# To future developers, add yourself here
|
|
|
|
# commit all the things
|
|
db.session.commit()
|