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)
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()
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)