def init_db(): db.clear_db() db.init_db() from fa_test.app.users import data as users_data users_data.setup_initial_data(db.session)
def recreate_db(): """ Drop and then created db tables. """ db.clear_db() db.init_db()