Merge "Fix duplicate unique constraint in sqlite migration"

This commit is contained in:
Jenkins 2015-06-30 18:07:18 +00:00 committed by Gerrit Code Review
commit b345413552

View File

@ -145,7 +145,6 @@ CREATE TABLE image_properties (
deleted BOOLEAN NOT NULL,
PRIMARY KEY (id),
CHECK (deleted IN (0, 1)),
UNIQUE (image_id, name),
FOREIGN KEY(image_id) REFERENCES images (id),
CONSTRAINT ix_image_properties_image_id_name UNIQUE (image_id, name)
);