mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
commit
dae4402949
@ -425,3 +425,7 @@ class SchemaUpgrade(object):
|
|||||||
ids = [(x[0],) for x in data if has_cover(x[1])]
|
ids = [(x[0],) for x in data if has_cover(x[1])]
|
||||||
self.conn.executemany('UPDATE books SET has_cover=1 WHERE id=?', ids)
|
self.conn.executemany('UPDATE books SET has_cover=1 WHERE id=?', ids)
|
||||||
|
|
||||||
|
def upgrade_version_15(self):
|
||||||
|
'Remove commas from tags'
|
||||||
|
self.conn.execute("UPDATE tags SET name=REPLACE(name, ',', ';')")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user