Skip to content
Snippets Groups Projects
Commit dce1b794 authored by Shinya Maeda's avatar Shinya Maeda :two:
Browse files

Use binary column

parent 8c5c39e9
No related branches found
No related tags found
No related merge requests found
Pipeline #48702738 passed
This commit is part of merge request !25417. Comments created here will be created in the context of that merge request.
......@@ -6,7 +6,7 @@ class AddExtraShasToCiPipelines < ActiveRecord::Migration[5.0]
DOWNTIME = false
def change
add_column :ci_pipelines, :source_sha, :string
add_column :ci_pipelines, :target_sha, :string
add_column :ci_pipelines, :source_sha, :binary
add_column :ci_pipelines, :target_sha, :binary
end
end
......@@ -491,8 +491,8 @@
t.integer "failure_reason"
t.integer "iid"
t.integer "merge_request_id"
t.string "source_sha"
t.string "target_sha"
t.binary "source_sha"
t.binary "target_sha"
t.index ["auto_canceled_by_id"], name: "index_ci_pipelines_on_auto_canceled_by_id", using: :btree
t.index ["merge_request_id"], name: "index_ci_pipelines_on_merge_request_id", where: "(merge_request_id IS NOT NULL)", using: :btree
t.index ["pipeline_schedule_id"], name: "index_ci_pipelines_on_pipeline_schedule_id", using: :btree
......
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