From: Tony Mack Date: Fri, 26 Jan 2007 18:55:58 +0000 (+0000) Subject: - added 'enabled' field to sites table and view_sites view X-Git-Tag: pycurl-7_13_1~58 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=fac9785e3af28ae747a4c63602320e182bf0f120;p=plcapi.git - added 'enabled' field to sites table and view_sites view --- diff --git a/planetlab4.sql b/planetlab4.sql index 9678193c..aa66868b 100644 --- a/planetlab4.sql +++ b/planetlab4.sql @@ -9,7 +9,7 @@ -- -- Copyright (C) 2006 The Trustees of Princeton University -- --- $Id: planetlab4.sql,v 1.62 2007/01/16 17:03:01 mlhuang Exp $ +-- $Id: planetlab4.sql,v 1.63 2007/01/19 17:46:05 tmack Exp $ -- -------------------------------------------------------------------------------- @@ -78,6 +78,7 @@ CREATE TABLE sites ( login_base text NOT NULL, -- Site slice prefix name text NOT NULL, -- Site name abbreviated_name text NOT NULL, -- Site abbreviated name + enabled boolean NOT NULL Default false, -- Is this site enabled deleted boolean NOT NULL DEFAULT false, -- Has been deleted is_public boolean NOT NULL DEFAULT true, -- Shows up in public lists max_slices integer NOT NULL DEFAULT 0, -- Maximum number of slices @@ -908,6 +909,7 @@ sites.login_base, sites.name, sites.abbreviated_name, sites.deleted, +sites.enabled, sites.is_public, sites.max_slices, sites.max_slivers,