diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-02-26 18:21:03 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-03-06 17:02:47 +0900 |
commit | b5f5b6dc50b2963f3190caecf12f63d4ba2da878 (patch) | |
tree | 010c77127fc0cfa8ecf18b2239281342ad4db7d7 /db | |
parent | 2e87923dcb1cf7984690f5b5fdfc61bddfba923e (diff) | |
download | gitlab-ce-b5f5b6dc50b2963f3190caecf12f63d4ba2da878.tar.gz |
Add checksum to ci_job_artifacts
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20180226050030_add_checksum_to_ci_job_artifacts.rb | 8 | ||||
-rw-r--r-- | db/schema.rb | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20180226050030_add_checksum_to_ci_job_artifacts.rb b/db/migrate/20180226050030_add_checksum_to_ci_job_artifacts.rb new file mode 100644 index 00000000000..30973f6f5c5 --- /dev/null +++ b/db/migrate/20180226050030_add_checksum_to_ci_job_artifacts.rb @@ -0,0 +1,8 @@ +class AddChecksumToCiJobArtifacts < ActiveRecord::Migration + DOWNTIME = false + + def change + add_column :ci_job_artifacts, :checksum, :string, limit: 64 + end +end + diff --git a/db/schema.rb b/db/schema.rb index 9e117440ed2..6a752593c96 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -346,6 +346,7 @@ ActiveRecord::Schema.define(version: 20180304204842) do t.datetime_with_timezone "updated_at", null: false t.datetime_with_timezone "expire_at" t.string "file" + t.string "checksum", limit: 64 end add_index "ci_job_artifacts", ["expire_at", "job_id"], name: "index_ci_job_artifacts_on_expire_at_and_job_id", using: :btree |