rafaldembski commited on
Commit
ca58313
·
verified ·
1 Parent(s): b4ce1ed

Update create_db.py

Browse files
Files changed (1) hide show
  1. create_db.py +1 -11
create_db.py CHANGED
@@ -1,11 +1 @@
1
- # create_db.py
2
-
3
- from utils.functions import Base, engine
4
-
5
- def create_database():
6
- Base.metadata.create_all(bind=engine)
7
- print("Baza danych została utworzona lub już istnieje.")
8
-
9
- if __name__ == "__main__":
10
- create_database()
11
-
 
1
+ touch create_db.py