 -- Name: id; Type: DEFAULT; Schema: public; Owner: steam
 --
 
+ALTER TABLE ONLY cluster_type ALTER COLUMN id SET DEFAULT nextval('cluster_type_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: steam
+--
+
+ALTER TABLE ONLY cluster_yarn ALTER COLUMN id SET DEFAULT nextval('cluster_yarn_id_seq'::regclass);
+
+
+--
+-- Name: id; Type: DEFAULT; Schema: public; Owner: steam
+--
+
 ALTER TABLE ONLY engine ALTER COLUMN id SET DEFAULT nextval('engine_id_seq'::regclass);
 
 

--

CREATE TABLE service (
    id integer NOT NULL
);



--

CREATE TABLE model (
    id integer NOT NULL,
    name text NOT NULL,
    cluster_name text NOT NULL,
    algorithm text NOT NULL,
    dataset_name text NOT NULL,
    response_column_name text NOT NULL,
    logical_name text NOT NULL,
    location text NOT NULL,
    max_run_time integer,
    created timestamp with time zone NOT NULL
);


ALTER TABLE model OWNER TO steam;

--
-- Name: COLUMN model.cluster_name; Type: COMMENT; Schema: public; Owner: steam
--

COMMENT ON COLUMN model.cluster_name IS 'The name of the cluster this model was sourced from.';


--
-- Name: COLUMN model.name; Type: COMMENT; Schema: public; Owner: steam
--

COMMENT ON COLUMN model.name IS 'The physical name of this model as stored on disk.';


--
-- Name: COLUMN model.logical_name; Type: COMMENT; Schema: public; Owner: steam
--

COMMENT ON COLUMN model.logical_name IS 'The logical name of the model (typically the Java language class name).';


--
-- Name: COLUMN model.location; Type: COMMENT; Schema: public; Owner: steam
--

COMMENT ON COLUMN model.location IS 'The location of this model''s saved assets (e.g. /var/master/model).';


--
-- Name: model_id_seq; Type: SEQUENCE; Schema: public; Owner: steam
