Spaces:
Sleeping
Sleeping
rafaldembski
commited on
Update create_db.py
Browse files- create_db.py +1 -11
create_db.py
CHANGED
@@ -1,11 +1 @@
|
|
1 |
-
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|