--- /dev/null
+class AddStartFinishTimeToTasksAndPipelines < ActiveRecord::Migration
+ def up
+ add_column :job_tasks, :started_at, :datetime
+ add_column :job_tasks, :finished_at, :datetime
+ add_column :pipeline_instances, :started_at, :datetime
+ add_column :pipeline_instances, :finished_at, :datetime
+ end
+
+ def down
+ remove_column :job_tasks, :started_at
+ remove_column :job_tasks, :finished_at
+ remove_column :pipeline_instances, :started_at
+ remove_column :pipeline_instances, :finished_at
+ end
+end
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
);
properties text,
state character varying(255),
components_summary text,
- description text
+ description text,
+ started_at timestamp without time zone,
+ finished_at timestamp without time zone
);
INSERT INTO schema_migrations (version) VALUES ('20140826180337');
INSERT INTO schema_migrations (version) VALUES ('20140828141043');
+
+INSERT INTO schema_migrations (version) VALUES ('20140909183946');
\ No newline at end of file