mohit112233 commited on
Commit
9014ea7
·
verified ·
1 Parent(s): 8c3bb35

Update database/database.py

Browse files
Files changed (1) hide show
  1. database/database.py +1 -1
database/database.py CHANGED
@@ -7,8 +7,8 @@ engine = create_engine(DATABASE_URL)
7
  SessionLocal = session.Session(autocommit=False, autoflush=False, bind=engine)
8
 
9
  async def init_db():
10
- pirnt("Databse initialize....")
11
  SQLModel.metadata.create_all(engine)
 
12
 
13
  def get_session():
14
  db = SessionLocal
 
7
  SessionLocal = session.Session(autocommit=False, autoflush=False, bind=engine)
8
 
9
  async def init_db():
 
10
  SQLModel.metadata.create_all(engine)
11
+ print("Databse initialize....")
12
 
13
  def get_session():
14
  db = SessionLocal