Commit 4a5ca96b authored by Shinya Maeda's avatar Shinya Maeda

Add limit to file_location column

parent 49ff3d9c
......@@ -4,6 +4,6 @@ class AddLegacyPathToCiJobArtifacts < ActiveRecord::Migration
DOWNTIME = false
def change
add_column :ci_job_artifacts, :file_location, :integer
add_column :ci_job_artifacts, :file_location, :integer, limit: 2
......@@ -382,7 +382,7 @@ ActiveRecord::Schema.define(version: 20180603190921) do
t.datetime_with_timezone "expire_at"
t.string "file"
t.binary "file_sha256"
t.integer "file_location"
t.integer "file_location", limit: 2
add_index "ci_job_artifacts", ["expire_at", "job_id"], name: "index_ci_job_artifacts_on_expire_at_and_job_id", using: :btree
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