diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb index 842290d8c..ffbb42ebe 100644 --- a/app/models/ci/pipeline.rb +++ b/app/models/ci/pipeline.rb @@ -9,6 +9,8 @@ # updated_at :datetime not null # pipeline_status :string(50) default("unknown"), not null # login :string(255) +# sync :integer default("0"), not null +# project_id :integer # class Ci::Pipeline < Ci::LocalBase diff --git a/app/views/ci/pipelines/_list.json.jbuilder b/app/views/ci/pipelines/_list.json.jbuilder index 6e091bf28..c59e925f3 100644 --- a/app/views/ci/pipelines/_list.json.jbuilder +++ b/app/views/ci/pipelines/_list.json.jbuilder @@ -2,5 +2,7 @@ json.id pipeline.id json.pipeline_name pipeline.pipeline_name json.pipeline_status pipeline.pipeline_status json.file_name pipeline.file_name +json.sync pipeline.sync +json.project_id pipeline.project_id json.created_at pipeline.created_at.strftime("%Y-%m-%d %H:%M:%S") json.updated_at pipeline.updated_at.strftime("%Y-%m-%d %H:%M:%S")