added more pomidoro
This commit is contained in:
@@ -27,8 +27,10 @@ SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
|
||||
|
||||
def init_db() -> None:
|
||||
from app.db import models # noqa: F401
|
||||
from app.db.migrate import run_migrations
|
||||
|
||||
Base.metadata.create_all(bind=engine)
|
||||
run_migrations()
|
||||
|
||||
|
||||
def get_db() -> Generator[Session, None, None]:
|
||||
|
||||
Reference in New Issue
Block a user