pipeline_history.sql 552 B

12345678910111213
  1. create table if not exists devcloud.pipeline_history
  2. (
  3. id int not null
  4. primary key,
  5. pipeline_id int null,
  6. start_time timestamp default CURRENT_TIMESTAMP not null,
  7. user_id int null,
  8. result varchar(15) null,
  9. details text null,
  10. constraint pipeline_history_pipeline_id_fk
  11. foreign key (pipeline_id) references devcloud.pipelinePO (id)
  12. );