Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20191003250045_create_commit_user_mentions.rb')
-rw-r--r--db/migrate/20191003250045_create_commit_user_mentions.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/db/migrate/20191003250045_create_commit_user_mentions.rb b/db/migrate/20191003250045_create_commit_user_mentions.rb
deleted file mode 100644
index 135c115c725..00000000000
--- a/db/migrate/20191003250045_create_commit_user_mentions.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class CreateCommitUserMentions < ActiveRecord::Migration[5.2]
- DOWNTIME = false
-
- def change
- create_table :commit_user_mentions do |t|
- t.references :note, type: :integer,
- index: { unique: true }, null: false, foreign_key: { on_delete: :cascade }
- t.binary :commit_id, null: false
- t.integer :mentioned_users_ids, array: true
- t.integer :mentioned_projects_ids, array: true
- t.integer :mentioned_groups_ids, array: true
- end
-
- add_index :commit_user_mentions, [:commit_id, :note_id], name: 'commit_user_mentions_on_commit_id_and_note_id_index'
- end
-end