提交 4a5ca96b 编写于 作者: S Shinya Maeda

Add limit to file_location column

上级 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
end
end
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册