fix unique constraint failure in migrate12to13
This commit is contained in:
parent
40dd99dea3
commit
b597ad0b3f
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ def do_migration(conf):
|
|||
added_on
|
||||
from file;
|
||||
|
||||
insert into new_content_claim (stream_hash, bt_infohash, claim_outpoint)
|
||||
insert or ignore into new_content_claim (stream_hash, bt_infohash, claim_outpoint)
|
||||
select stream_hash, NULL, claim_outpoint from content_claim;
|
||||
|
||||
drop table file;
|
||||
|
|
Loading…
Reference in a new issue