Exemplo n.º 1
0
from db_schema import metadata
from sqlalchemy import create_engine
from config import DATABASE_URI

engine = create_engine(DATABASE_URI)

metadata.create_all(bind=engine)

Exemplo n.º 2
0
 def setUpClass(cls):
     metadata.create_all(bind=cls.engine)