Ensure link column cannot be added to table without updating user_version

This commit is contained in:
Kovid Goyal 2011-07-03 12:00:18 -06:00
parent 299d477f75
commit 075da685e6

View File

@ -606,6 +606,7 @@ class SchemaUpgrade(object):
'''
script = '''
BEGIN TRANSACTION;
ALTER TABLE authors ADD COLUMN link TEXT NOT NULL DEFAULT "";
'''
self.conn.executescript(script)