Spaces:
Sleeping
Sleeping
Update database.py
Browse files- database.py +1 -6
database.py
CHANGED
|
@@ -71,12 +71,7 @@ def init_db():
|
|
| 71 |
""")
|
| 72 |
|
| 73 |
conn.commit()
|
| 74 |
-
|
| 75 |
-
try:
|
| 76 |
-
cursor.execute("ALTER TABLE sessions ADD COLUMN created_by INTEGER")
|
| 77 |
-
except sqlite3.OperationalError:
|
| 78 |
-
pass # Coluna já existe
|
| 79 |
-
|
| 80 |
|
| 81 |
|
| 82 |
def get_connection():
|
|
|
|
| 71 |
""")
|
| 72 |
|
| 73 |
conn.commit()
|
| 74 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
|
| 76 |
|
| 77 |
def get_connection():
|