comment drop table
This commit is contained in:
@@ -7,7 +7,7 @@ class DBApplications:
|
|||||||
default_path = os.getenv("DB_PATH", "instance/dev.db")
|
default_path = os.getenv("DB_PATH", "instance/dev.db")
|
||||||
self.db_path = os.path.abspath(default_path)
|
self.db_path = os.path.abspath(default_path)
|
||||||
os.makedirs(os.path.dirname(self.db_path), exist_ok=True)
|
os.makedirs(os.path.dirname(self.db_path), exist_ok=True)
|
||||||
self.drop_table()
|
#self.drop_table()
|
||||||
self.create_table()
|
self.create_table()
|
||||||
|
|
||||||
def drop_table(self):
|
def drop_table(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user