diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-12-03 12:02:11 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-12-03 12:05:23 +0100 |
commit | 0464c25f602dc2e4d147ca2ac714d49bf96ddcf2 (patch) | |
tree | 3c55fc88891b4bde955713abde3dafa9c95b67dd /db/migrate | |
parent | 0e1821973da36d995cf1f9673300c59af8c82294 (diff) | |
download | gitlab-ce-0464c25f602dc2e4d147ca2ac714d49bf96ddcf2.tar.gz |
Store expire_at in ci_job_artifacts
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20170918072948_create_job_artifacts.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/db/migrate/20170918072948_create_job_artifacts.rb b/db/migrate/20170918072948_create_job_artifacts.rb index 90152127ed5..d6c6a228ed1 100644 --- a/db/migrate/20170918072948_create_job_artifacts.rb +++ b/db/migrate/20170918072948_create_job_artifacts.rb @@ -7,11 +7,12 @@ class CreateJobArtifacts < ActiveRecord::Migration create_table :ci_job_artifacts do |t| t.belongs_to :project, null: false, index: true, foreign_key: { on_delete: :cascade } t.integer :job_id, null: false, index: true - t.integer :size, limit: 8 t.integer :file_type, null: false, index: true + t.integer :size, limit: 8 t.datetime_with_timezone :created_at, null: false t.datetime_with_timezone :updated_at, null: false + t.datetime_with_timezone :expire_at t.string :file |