haldis/app/database/add_admins.py

23 lines
455 B
Python
Raw Normal View History

from app import db
from models import User
2019-09-07 15:05:24 +02:00
def add() -> None:
feli = User()
feli.configure("feliciaan", True, 0)
db.session.add(feli)
destro = User()
2019-09-05 03:33:29 +02:00
destro.configure("destro", True, 0)
db.session.add(destro)
iepoev = User()
2019-09-05 03:33:29 +02:00
iepoev.configure("iepoev", True, 1)
db.session.add(iepoev)
2019-04-04 18:27:50 +02:00
flynn = User()
2019-09-05 03:33:29 +02:00
flynn.configure("flynn", True, 0)
2019-04-04 18:27:50 +02:00
db.session.add(flynn)
# To future developers, add yourself here