Commit cd36b8c8 authored by Yannis Roussos's avatar Yannis Roussos

Merge branch 'mo-add-expire-at-to-pipeline-artifact' into 'master'

Add expire_at to PipelineArtifact

See merge request gitlab-org/gitlab!39114
parents 39795481 36049ec3
---
title: Add expire_at to PipelineArtifact
merge_request: 39114
author:
type: fixed
# frozen_string_literal: true
class AddExpireAtToCiPipelineArtifact < ActiveRecord::Migration[6.0]
DOWNTIME = false
def change
add_column :ci_pipeline_artifacts, :expire_at, :datetime_with_timezone
end
end
d459b160ae86f035509e382c12b76fdd441f58e0838a983471326a750a48e9fd
\ No newline at end of file
...@@ -10058,6 +10058,7 @@ CREATE TABLE public.ci_pipeline_artifacts ( ...@@ -10058,6 +10058,7 @@ CREATE TABLE public.ci_pipeline_artifacts (
file_type smallint NOT NULL, file_type smallint NOT NULL,
file_format smallint NOT NULL, file_format smallint NOT NULL,
file text, file text,
expire_at timestamp with time zone,
CONSTRAINT check_191b5850ec CHECK ((char_length(file) <= 255)) CONSTRAINT check_191b5850ec CHECK ((char_length(file) <= 255))
); );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment