[Debconf-video-commits] r100 - package/trunk/src
des at alioth.debian.org
des at alioth.debian.org
Fri Jun 6 16:26:12 UTC 2008
Author: des
Date: 2008-06-06 16:26:11 +0000 (Fri, 06 Jun 2008)
New Revision: 100
Modified:
package/trunk/src/dc-video-schema.sql
Log:
Update dc-video-schema for penta 0.3
Modified: package/trunk/src/dc-video-schema.sql
===================================================================
--- package/trunk/src/dc-video-schema.sql 2008-04-01 15:04:43 UTC (rev 99)
+++ package/trunk/src/dc-video-schema.sql 2008-06-06 16:26:11 UTC (rev 100)
@@ -17,11 +17,15 @@
-- Recorded file.
CREATE TABLE video_recording (
id serial PRIMARY KEY,
- room_id integer NOT NULL REFERENCES rooms,
+ conference_id integer NOT NULL,
+ conference_room text NOT NULL,
recording_time timestamp NOT NULL,
recording_duration interval NOT NULL,
recording_filename character varying(100) NOT NULL UNIQUE,
- file_status_id integer NOT NULL REFERENCES video_file_status
+ file_status_id integer NOT NULL REFERENCES video_file_status,
+ comments text,
+ locked_by integer,
+ FOREIGN KEY (conference_id, conference_room) REFERENCES conference_room (conference_id, conference_room) ON UPDATE CASCADE ON DELETE CASCADE
);
-- Association of events with their recordings. This is separate
@@ -29,7 +33,7 @@
-- single file.
CREATE TABLE video_event_recording (
id serial PRIMARY KEY,
- event_id integer NOT NULL REFERENCES events,
+ event_id integer NOT NULL REFERENCES event,
recording_id integer NOT NULL REFERENCES video_recording,
-- Start and end of the event recording within the file.
start_time interval(3) NOT NULL,
@@ -71,6 +75,8 @@
event_recording_id integer NOT NULL REFERENCES video_event_recording,
target_format_id integer NOT NULL REFERENCES video_target_format,
file_status_id integer NOT NULL REFERENCES video_file_status,
+ comments text,
+ locked_by integer,
UNIQUE (event_recording_id, target_format_id)
);
More information about the Debconf-video-commits
mailing list