[Debconf-video-commits] r510 - in package/trunk: debian src
Ben Hutchings
benh at alioth.debian.org
Sun Sep 13 19:22:54 UTC 2009
Author: benh
Date: 2009-09-13 19:22:54 +0000 (Sun, 13 Sep 2009)
New Revision: 510
Modified:
package/trunk/debian/changelog
package/trunk/src/dc-video-schema.sql
Log:
schema: allow unlinking of events and recordings that already have target files
Modified: package/trunk/debian/changelog
===================================================================
--- package/trunk/debian/changelog 2009-09-13 19:22:30 UTC (rev 509)
+++ package/trunk/debian/changelog 2009-09-13 19:22:54 UTC (rev 510)
@@ -2,6 +2,8 @@
* dc-import-recordings: ignore filenames that don't match the filename
pattern we use
+ * schema: allow unlinking of events and recordings that already have
+ target files
-- Ben Hutchings <ben at decadent.org.uk> Thu, 10 Sep 2009 03:24:27 +0100
Modified: package/trunk/src/dc-video-schema.sql
===================================================================
--- package/trunk/src/dc-video-schema.sql 2009-09-13 19:22:30 UTC (rev 509)
+++ package/trunk/src/dc-video-schema.sql 2009-09-13 19:22:54 UTC (rev 510)
@@ -73,7 +73,8 @@
-- from other relations.
CREATE TABLE video_target_file (
id serial PRIMARY KEY,
- event_recording_id integer NOT NULL REFERENCES video_event_recording,
+ event_recording_id integer NOT NULL
+ REFERENCES video_event_recording ON DELETE CASCADE,
target_format_id integer NOT NULL REFERENCES video_target_format,
file_status_id integer NOT NULL REFERENCES video_file_status,
comments text,
More information about the Debconf-video-commits
mailing list