diff options
Diffstat (limited to 'db.sql')
-rw-r--r-- | db.sql | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -33,7 +33,8 @@ CREATE TABLE package_rel_map ( CONSTRAINT fk_suite_id REFERENCES suites(id) ON DELETE CASCADE, component_id INTEGER NOT NULL CONSTRAINT fk_component_id REFERENCES components(id), - UNIQUE (package_id, suite_id, component_id) ON CONFLICT IGNORE + marked INTEGER NOT NULL DEFAULT 1, + UNIQUE (package_id, suite_id, component_id) ON CONFLICT REPLACE ); -- sqlite doesn't actually implement FK constraints, therefore we |