mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-17 21:54:00 +02:00
remove drop tables function
This commit is contained in:
@@ -40,9 +40,3 @@ def init_db():
|
||||
tv.init_table()
|
||||
|
||||
log.info("Tables initialized successfully")
|
||||
|
||||
|
||||
def drop_tables() -> None:
|
||||
with PgDatabase() as db:
|
||||
db.connection.execute("DROP TABLE IF EXISTS users CASCADE;")
|
||||
log.info("User Table dropped")
|
||||
|
||||
Reference in New Issue
Block a user