drop host versions

This commit is contained in:
Tomas Kopecek 2020-09-07 12:48:11 +02:00
parent ba908fd2de
commit 5f472413c9
8 changed files with 17 additions and 42 deletions

View file

@ -156,8 +156,7 @@ CREATE TABLE host (
user_id INTEGER NOT NULL REFERENCES users (id),
name VARCHAR(128) UNIQUE NOT NULL,
task_load FLOAT CHECK (NOT task_load < 0) NOT NULL DEFAULT 0.0,
ready BOOLEAN NOT NULL DEFAULT 'false',
version VARCHAR(10) NOT NULL DEFAULT ''
ready BOOLEAN NOT NULL DEFAULT 'false'
) WITHOUT OIDS;
CREATE TABLE host_config (