diff --git a/server/bin/db_init b/server/bin/db_init index c51b010..d649f15 100755 --- a/server/bin/db_init +++ b/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()