2015-03-26 21:49:14 +01:00
|
|
|
from models import *
|
|
|
|
from app import db
|
|
|
|
|
|
|
|
db.drop_all()
|
|
|
|
db.create_all()
|
|
|
|
|
|
|
|
feli = User()
|
2015-03-26 22:23:11 +01:00
|
|
|
feli.configure("feliciaan", True, 0)
|
2015-03-26 21:49:14 +01:00
|
|
|
db.session.add(feli)
|
|
|
|
|
2015-03-26 22:23:11 +01:00
|
|
|
wout = User()
|
|
|
|
wout.configure('wout', True, 0)
|
2015-03-26 21:49:14 +01:00
|
|
|
|
|
|
|
# To future developers, add yourself here
|
|
|
|
|
|
|
|
# commit all the things
|
|
|
|
db.session.commit()
|