示例#1
0
def db(app):
    """A database for the tests."""
    with app.app_context():
        Message.create_table(safe=True)
示例#2
0
def dbinit():
    """Create database tables"""
    Message.create_table(safe=True)
    FaucetPayment.create_table(safe=True)