mirror of
https://github.com/janeczku/calibre-web
synced 2025-11-10 04:03:00 +00:00
Fixed lout issue with redirects
fixed database migration problem which was introduced with the shelf order commit
This commit is contained in:
@@ -179,7 +179,7 @@ def migrate_Database():
|
||||
session.commit()
|
||||
except exc.OperationalError: # Database is not compatible, some rows are missing
|
||||
conn = engine.connect()
|
||||
conn.execute("ALTER TABLE book_shelf_link ADD column order INTEGER DEFAULT 1")
|
||||
conn.execute("ALTER TABLE book_shelf_link ADD column `order` INTEGER DEFAULT 1")
|
||||
session.commit()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user