Repeat the statute date->dateEnacted migration step, since the itemTypeField mapping in system.sql wasn't changed until later
This commit is contained in:
parent
6a95a73638
commit
f1d6f45bc8
|
@ -1043,6 +1043,10 @@ Zotero.Schema = new function(){
|
||||||
if (i==31) {
|
if (i==31) {
|
||||||
Zotero.DB.query("UPDATE itemData SET fieldID=14 WHERE itemID IN (SELECT itemID FROM items WHERE itemTypeID=15) AND fieldID=100");
|
Zotero.DB.query("UPDATE itemData SET fieldID=14 WHERE itemID IN (SELECT itemID FROM items WHERE itemTypeID=15) AND fieldID=100");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (i==32) {
|
||||||
|
Zotero.DB.query("UPDATE itemData SET fieldID=100 WHERE itemID IN (SELECT itemID FROM items WHERE itemTypeID=20) AND fieldID=14;");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_updateSchema('userdata');
|
_updateSchema('userdata');
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
-- 31
|
-- 32
|
||||||
|
|
||||||
-- This file creates tables containing user-specific data -- any changes
|
-- This file creates tables containing user-specific data -- any changes
|
||||||
-- to existing tables made here must be mirrored in transition steps in
|
-- to existing tables made here must be mirrored in transition steps in
|
||||||
|
|
Loading…
Reference in New Issue
Block a user