mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Ensure link column cannot be added to table without updating user_version
This commit is contained in:
parent
299d477f75
commit
075da685e6
@ -606,6 +606,7 @@ class SchemaUpgrade(object):
|
||||
'''
|
||||
|
||||
script = '''
|
||||
BEGIN TRANSACTION;
|
||||
ALTER TABLE authors ADD COLUMN link TEXT NOT NULL DEFAULT "";
|
||||
'''
|
||||
self.conn.executescript(script)
|
||||
|
Loading…
x
Reference in New Issue
Block a user