synthex / init_db.py
theaniketgiri's picture
backend
3f61e65
raw
history blame contribute delete
281 Bytes
from app.core.database import Base, engine
from app.models.models import BetaApplication
def init_db():
Base.metadata.create_all(bind=engine)
if __name__ == "__main__":
print("Creating database tables...")
init_db()
print("Database tables created successfully!")