Esempio n. 1
0
from expenses.models import Expense, Users

Expense.create_table()
Users.create_table()
Esempio n. 2
0
def database():
    Expense.drop_table()
    Expense.create_table()
    Users.drop_table()
    Users.create_table()
    yield