Example #1
0
# Copyright (c) 2015-2019 Anish Athalye ([email protected])
#
# This software is released under AGPLv3. See the included LICENSE.txt for
# details.

if __name__ == '__main__':
    from gavel.models import db
    db.create_all()
Example #2
0
# Copyright (c) 2015-2016 Anish Athalye ([email protected])
#
# This software is released under AGPLv3. See the included LICENSE.txt for
# details.

if __name__ == '__main__':
    from gavel.models import db
    db.create_all()
Example #3
0
def rebuild():
    from gavel.models import db
    db.reflect()
    db.drop_all()
    db.create_all()