Browse Source

Strategická: db_init: Odstranit enum typ

master
Jiří Kalvoda 2 years ago
parent
commit
371117a18d
  1. 1
      server/bin/db_init

1
server/bin/db_init

@ -28,6 +28,7 @@ if args.drop:
for row in rs:
x = db.get_session().execute(row[0])
print(row, x)
x = db.get_session().execute("DROP TYPE IF EXISTS step_mode;")
db.get_session().commit()
db.metadata.bind = db.get_engine()

Loading…
Cancel
Save