Skip to content
Snippets Groups Projects
Commit 4a5ca96b authored by Shinya Maeda's avatar Shinya Maeda
Browse files

Add limit to file_location column

parent 49ff3d9c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
end
end
Loading
Loading
@@ -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
end
 
add_index "ci_job_artifacts", ["expire_at", "job_id"], name: "index_ci_job_artifacts_on_expire_at_and_job_id", using: :btree
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment