prediction-api / scripts /create_db.py
3v324v23's picture
feat(db): Implement SQLAlchemy models and database configuration
227477c
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()