git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
70a1192
)
- event_object.object_type values default to 'Unknown'
author
Tony Mack
<tmack@cs.princeton.edu>
Wed, 11 Apr 2007 20:37:23 +0000
(20:37 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Wed, 11 Apr 2007 20:37:23 +0000
(20:37 +0000)
planetlab4.sql
patch
|
blob
|
history
diff --git
a/planetlab4.sql
b/planetlab4.sql
index
f422c22
..
31311d1
100644
(file)
--- a/
planetlab4.sql
+++ b/
planetlab4.sql
@@
-9,7
+9,7
@@
--
-- Copyright (C) 2006 The Trustees of Princeton University
--
--
-- Copyright (C) 2006 The Trustees of Princeton University
--
--- $Id: planetlab4.sql,v 1.7
4 2007/04/02 20:45:49
tmack Exp $
+-- $Id: planetlab4.sql,v 1.7
5 2007/04/11 20:31:15
tmack Exp $
--
SET client_encoding = 'UNICODE';
--
SET client_encoding = 'UNICODE';
@@
-784,7
+784,7
@@
CREATE TABLE events (
CREATE TABLE event_object (
event_id integer REFERENCES events NOT NULL, -- Event identifier
object_id integer NOT NULL, -- Object identifier
CREATE TABLE event_object (
event_id integer REFERENCES events NOT NULL, -- Event identifier
object_id integer NOT NULL, -- Object identifier
- object_type text -- What type of object is this event affecting
+ object_type text
NOT NULL Default 'Unknown'
-- What type of object is this event affecting
) WITH OIDS;
CREATE INDEX event_object_event_id_idx ON event_object (event_id);
CREATE INDEX event_object_object_id_idx ON event_object (object_id);
) WITH OIDS;
CREATE INDEX event_object_event_id_idx ON event_object (event_id);
CREATE INDEX event_object_object_id_idx ON event_object (object_id);