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:
cc81c95
)
- add 'ext_consortium_id' field to 'sites' table and 'view_sites' view
author
Tony Mack
<tmack@cs.princeton.edu>
Wed, 21 Feb 2007 20:00:12 +0000
(20:00 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Wed, 21 Feb 2007 20:00:12 +0000
(20:00 +0000)
planetlab4.sql
patch
|
blob
|
history
diff --git
a/planetlab4.sql
b/planetlab4.sql
index
f24939f
..
753b005
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
0 2007/01/31 19:54:42
mlhuang Exp $
+-- $Id: planetlab4.sql,v 1.7
1 2007/02/01 23:05:59
mlhuang Exp $
--
SET client_encoding = 'UNICODE';
--
SET client_encoding = 'UNICODE';
@@
-91,6
+91,7
@@
CREATE TABLE sites (
latitude real,
longitude real,
url text,
latitude real,
longitude real,
url text,
+ ext_consortium_id integer, -- external consortium id
-- Timestamps
date_created timestamp without time zone NOT NULL DEFAULT CURRENT_TIMESTAMP,
-- Timestamps
date_created timestamp without time zone NOT NULL DEFAULT CURRENT_TIMESTAMP,
@@
-900,6
+901,7
@@
sites.max_slivers,
sites.latitude,
sites.longitude,
sites.url,
sites.latitude,
sites.longitude,
sites.url,
+sites.ext_consortium_id,
CAST(date_part('epoch', sites.date_created) AS bigint) AS date_created,
CAST(date_part('epoch', sites.last_updated) AS bigint) AS last_updated,
peer_site.peer_id,
CAST(date_part('epoch', sites.date_created) AS bigint) AS date_created,
CAST(date_part('epoch', sites.last_updated) AS bigint) AS last_updated,
peer_site.peer_id,