From: Tony Mack Date: Wed, 21 Feb 2007 20:00:12 +0000 (+0000) Subject: - add 'ext_consortium_id' field to 'sites' table and 'view_sites' view X-Git-Tag: PLCAPI-4.2-0~182 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=07982140f95f85fd818cf88cc05dee67425bd62a;p=plcapi.git - add 'ext_consortium_id' field to 'sites' table and 'view_sites' view --- diff --git a/planetlab4.sql b/planetlab4.sql index f24939fb..753b005d 100644 --- a/planetlab4.sql +++ b/planetlab4.sql @@ -9,7 +9,7 @@ -- -- Copyright (C) 2006 The Trustees of Princeton University -- --- $Id: planetlab4.sql,v 1.70 2007/01/31 19:54:42 mlhuang Exp $ +-- $Id: planetlab4.sql,v 1.71 2007/02/01 23:05:59 mlhuang Exp $ -- SET client_encoding = 'UNICODE'; @@ -91,6 +91,7 @@ CREATE TABLE sites ( 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, @@ -900,6 +901,7 @@ sites.max_slivers, 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,