Strategická: db_init: Odstranit enum typ
This commit is contained in:
parent
07d19dbad7
commit
371117a18d
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ if args.drop:
|
||||||
for row in rs:
|
for row in rs:
|
||||||
x = db.get_session().execute(row[0])
|
x = db.get_session().execute(row[0])
|
||||||
print(row, x)
|
print(row, x)
|
||||||
|
x = db.get_session().execute("DROP TYPE IF EXISTS step_mode;")
|
||||||
db.get_session().commit()
|
db.get_session().commit()
|
||||||
|
|
||||||
db.metadata.bind = db.get_engine()
|
db.metadata.bind = db.get_engine()
|
||||||
|
|
Loading…
Reference in a new issue