- added 'enabled' field to sites table and view_sites view
authorTony Mack <tmack@cs.princeton.edu>
Fri, 26 Jan 2007 18:55:58 +0000 (18:55 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Fri, 26 Jan 2007 18:55:58 +0000 (18:55 +0000)
planetlab4.sql

index 9678193..aa66868 100644 (file)
@@ -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,