fix unique constraint failure in migrate12to13

This commit is contained in:
Jack Robison 2019-12-27 22:54:29 -05:00
parent 40dd99dea3
commit b597ad0b3f
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -65,7 +65,7 @@ def do_migration(conf):
added_on added_on
from file; 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; select stream_hash, NULL, claim_outpoint from content_claim;
drop table file; drop table file;