metabrainz/mbspotify — pull request #10 by tsukanov (2014-08-14 11:30:24+00:00)
Title: Mapping removal implementation

Schema changes:

ALTER TABLE mapping ADD COLUMN is_deleted boolean;
UPDATE mapping SET is_deleted = False;
ALTER TABLE mapping ALTER COLUMN is_deleted SET NOT NULL;

DROP INDEX mapping_ndx_mbid_spotify_uri;
CREATE INDEX mapping_ndx_mbid_spotify_uri ON mapping (mbid, spotify_uri);