Пример #1
0
def initalize_all_tables(db=None):
    """Place code here as needed to initialze all the tables for this site"""
    if not db:
        db = get_db()
        
    shotglass.initalize_user_tables(db)
    
    ### setup any other tables you need here....
    inventory.initalize_tables(db)
Пример #2
0
def initalize_all_tables(db=None):
    """Place code here as needed to initialze all the tables for this site"""
    if not db:
        db = get_db()

    shotglass.initalize_user_tables(db)

    ### setup any other tables you need here....
    Location(db).init_table()
    Event(db).init_table()
    Period(db).init_table()
    Appointment(db).init_table()
Пример #3
0
def initalize_all_tables(db=None):
    """Place code here as needed to initialze all the tables for this site"""
    if not db:
        db = get_db()

    shotglass.initalize_user_tables(db)