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
2 changed files with 5 additions and 1 deletions
|
@ -2479,6 +2479,10 @@ Zotero.Schema = new function(){
|
|||
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
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
-- 97
|
||||
-- 98
|
||||
|
||||
-- Copyright (c) 2009 Center for History and New Media
|
||||
-- George Mason University, Fairfax, Virginia, USA
|
||||
|
|
Loading…
Reference in a new issue