Ajouter Dockerfile, requirements.txt, et mettre à jour les imports dans models.py et security.py
This commit is contained in:
parent
26020ecbc1
commit
c6579868d7
4 changed files with 41 additions and 6 deletions
|
@ -61,7 +61,7 @@ SQLITE_FILE_NAME = "database.db"
|
|||
DATABASE_URL = f"sqlite:///{SQLITE_FILE_NAME}"
|
||||
|
||||
connect_args = {"check_same_thread": False}
|
||||
engine = create_engine(DATABASE_URL, echo=True, connect_args=connect_args)
|
||||
engine = create_engine(DATABASE_URL, connect_args=connect_args)
|
||||
|
||||
|
||||
def create_db_and_tables():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue