Permalink
Browse files

Removed unused resourcepools table

Made hostname alone primary key
  • Loading branch information...
1 parent 5c92faa commit 0c5a34e9234ef8756311ee0c91e2790dd6186523 @labisso labisso committed with BuzzTroll Oct 15, 2010
Showing with 2 additions and 11 deletions.
  1. +2 −11 service/service/java/source/share/lib/workspace_service_derby_schema.sql
View
13 service/service/java/source/share/lib/workspace_service_derby_schema.sql
@@ -157,27 +157,18 @@ CREATE TABLE default_scheduler_done_ensemb
coschedid CHAR(36) NOT NULL
);
---
--- Persistence for default resource pool:
-
-CREATE TABLE resourcepools
-(
-resourcepool VARCHAR(128) NOT NULL PRIMARY KEY,
-file_time BIGINT NOT NULL
-);
-- using REAL for memory attributs to allow
-- real division operations in ORDER BY statements
CREATE TABLE resourcepool_entries
(
resourcepool VARCHAR(128) NOT NULL,
-hostname VARCHAR(128) UNIQUE NOT NULL,
+hostname VARCHAR(128) NOT NULL PRIMARY KEY,
associations VARCHAR(512) NOT NULL,
maximum_memory REAL,
available_memory REAL,
-active SMALLINT NOT NULL DEFAULT 1,
-PRIMARY KEY(resourcepool, hostname)
+active SMALLINT NOT NULL DEFAULT 1
);
--

0 comments on commit 0c5a34e

Please sign in to comment.