1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-29 11:30:31 +00:00

Merge remote-tracking branch 'origin/feature/add-cover-serie-view' into feature/add-cover-serie-view

# Conflicts:
#	cps/ub.py
#	cps/web.py
This commit is contained in:
pthiben 2020-04-18 23:26:47 -04:00
commit 2874cf531c

View File

@ -458,9 +458,9 @@ def migrate_Database(session):
"UNIQUE (nickname),"
"UNIQUE (email))")
conn.execute("INSERT INTO user_id(id, nickname, email, role, password, kindle_mail,locale,"
"sidebar_view, default_language, series_view) "
"sidebar_view, default_language, series_view) "
"SELECT id, nickname, email, role, password, kindle_mail, locale,"
"sidebar_view, default_language FROM user")
"sidebar_view, default_language FROM user")
# delete old user table and rename new user_id table to user:
conn.execute("DROP TABLE user")
conn.execute("ALTER TABLE user_id RENAME TO user")