Update database.py
Browse files- database.py +0 -1
database.py
CHANGED
@@ -8,7 +8,6 @@ SQLALCHEMY_DATABASE_URL = "sqlite:////./sql_app.db"
|
|
8 |
engine = create_engine(
|
9 |
SQLALCHEMY_DATABASE_URL, connect_args={"check_same_thread": False}
|
10 |
)
|
11 |
-
engine.dispose()
|
12 |
SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
|
13 |
|
14 |
Base = declarative_base()
|
|
|
8 |
engine = create_engine(
|
9 |
SQLALCHEMY_DATABASE_URL, connect_args={"check_same_thread": False}
|
10 |
)
|
|
|
11 |
SessionLocal = sessionmaker(autocommit=False, autoflush=False, bind=engine)
|
12 |
|
13 |
Base = declarative_base()
|