Remove old archive.org relations
These aren't allowed by the API and were breaking syncing (and haven't been exposed anywhere for years anyway).
This commit is contained in:
parent
42e2f229c0
commit
da21c9c47b
|
@ -2479,6 +2479,10 @@ Zotero.Schema = new function(){
|
||||||
yield Zotero.DB.queryAsync("DELETE FROM relationPredicates " + where);
|
yield Zotero.DB.queryAsync("DELETE FROM relationPredicates " + where);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if (i == 98) {
|
||||||
|
yield Zotero.DB.queryAsync("DELETE FROM itemRelations WHERE predicateID=(SELECT predicateID FROM relationPredicates WHERE predicate='owl:sameAs') AND object LIKE ?", 'http://www.archive.org/%');
|
||||||
|
}
|
||||||
|
|
||||||
// If breaking compatibility or doing anything dangerous, clear minorUpdateFrom
|
// If breaking compatibility or doing anything dangerous, clear minorUpdateFrom
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
-- 97
|
-- 98
|
||||||
|
|
||||||
-- Copyright (c) 2009 Center for History and New Media
|
-- Copyright (c) 2009 Center for History and New Media
|
||||||
-- George Mason University, Fairfax, Virginia, USA
|
-- George Mason University, Fairfax, Virginia, USA
|
||||||
|
|
Loading…
Reference in New Issue
Block a user