diff options
author | Patrick Bajao <ebajao@gitlab.com> | 2019-07-03 08:01:05 +0300 |
---|---|---|
committer | jboyson1 <jboyson@gitlab.com> | 2019-08-02 00:00:36 +0300 |
commit | d7e13579834f34a345081d1c62c97e37b7776406 (patch) | |
tree | 59fa0bbd4a17924264717bd7c517979e90ca76a9 /db/migrate | |
parent | 52b857f119debb5a03c216c4199eb21a49d815b6 (diff) |
Add commit_id to draft_notes table
CE port of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14520
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20190703043358_add_commit_id_to_draft_notes.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20190703043358_add_commit_id_to_draft_notes.rb b/db/migrate/20190703043358_add_commit_id_to_draft_notes.rb new file mode 100644 index 00000000000..022400ce585 --- /dev/null +++ b/db/migrate/20190703043358_add_commit_id_to_draft_notes.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +class AddCommitIdToDraftNotes < ActiveRecord::Migration[5.1] + include Gitlab::Database::MigrationHelpers + + DOWNTIME = false + + def change + add_column :draft_notes, :commit_id, :binary + end +end |