X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4cf16efd4dc5097b59e900d84eef3bf98d80b16f..0fc69ec920fb2edf48a196adfbce1e7c66218f04:/services/api/db/structure.sql

diff --git a/services/api/db/structure.sql b/services/api/db/structure.sql
index b19d4123e0..48bc57ab97 100644
--- a/services/api/db/structure.sql
+++ b/services/api/db/structure.sql
@@ -353,7 +353,9 @@ CREATE TABLE job_tasks (
     created_at timestamp without time zone NOT NULL,
     updated_at timestamp without time zone NOT NULL,
     created_by_job_task_uuid character varying(255),
-    qsequence bigint
+    qsequence bigint,
+    started_at timestamp without time zone,
+    finished_at timestamp without time zone
 );
 
 
@@ -428,7 +430,9 @@ CREATE TABLE jobs (
     repository character varying(255),
     supplied_script_version character varying(255),
     docker_image_locator character varying(255),
-    priority integer DEFAULT 0 NOT NULL
+    priority integer DEFAULT 0 NOT NULL,
+    description text,
+    state character varying(255)
 );
 
 
@@ -637,7 +641,8 @@ CREATE TABLE nodes (
     last_ping_at timestamp without time zone,
     info text,
     updated_at timestamp without time zone NOT NULL,
-    properties text
+    properties text,
+    job_uuid character varying(255)
 );
 
 
@@ -679,6 +684,8 @@ CREATE TABLE pipeline_instances (
     properties text,
     state character varying(255),
     components_summary text,
+    started_at timestamp without time zone,
+    finished_at timestamp without time zone,
     description text
 );
 
@@ -868,7 +875,7 @@ ALTER SEQUENCE traits_id_seq OWNED BY traits.id;
 CREATE TABLE users (
     id integer NOT NULL,
     uuid character varying(255),
-    owner_uuid character varying(255),
+    owner_uuid character varying(255) NOT NULL,
     created_at timestamp without time zone NOT NULL,
     modified_by_client_uuid character varying(255),
     modified_by_user_uuid character varying(255),
@@ -2004,8 +2011,6 @@ INSERT INTO schema_migrations (version) VALUES ('20140714184006');
 
 INSERT INTO schema_migrations (version) VALUES ('20140811184643');
 
-INSERT INTO schema_migrations (version) VALUES ('20140815171049');
-
 INSERT INTO schema_migrations (version) VALUES ('20140817035914');
 
 INSERT INTO schema_migrations (version) VALUES ('20140818125735');
@@ -2014,4 +2019,14 @@ INSERT INTO schema_migrations (version) VALUES ('20140826180337');
 
 INSERT INTO schema_migrations (version) VALUES ('20140828141043');
 
+INSERT INTO schema_migrations (version) VALUES ('20140909183946');
+
+INSERT INTO schema_migrations (version) VALUES ('20140911221252');
+
+INSERT INTO schema_migrations (version) VALUES ('20140918141529');
+
 INSERT INTO schema_migrations (version) VALUES ('20140918153541');
+
+INSERT INTO schema_migrations (version) VALUES ('20140918153705');
+
+INSERT INTO schema_migrations (version) VALUES ('20140924091559');
\ No newline at end of file
