Spaces:
Sleeping
Sleeping
File size: 258 Bytes
227477c |
1 2 3 4 5 6 7 8 9 10 11 |
from app.core.database import Base, engine
from app.models.models import PredictionLog
def create_tables():
print("Creating database")
Base.metadata.create_all(bind=engine)
print("Tables created")
if __name__ == "__main__":
create_tables()
|