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/20200825081025_boards_epic_user_preferences.rb')
-rw-r--r--db/migrate/20200825081025_boards_epic_user_preferences.rb23
1 files changed, 0 insertions, 23 deletions
diff --git a/db/migrate/20200825081025_boards_epic_user_preferences.rb b/db/migrate/20200825081025_boards_epic_user_preferences.rb
deleted file mode 100644
index fc7454a6a9a..00000000000
--- a/db/migrate/20200825081025_boards_epic_user_preferences.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-class BoardsEpicUserPreferences < ActiveRecord::Migration[6.0]
- DOWNTIME = false
-
- def up
- create_table :boards_epic_user_preferences do |t|
- t.bigint :board_id, null: false
- t.bigint :user_id, null: false
- t.bigint :epic_id, null: false
- t.boolean :collapsed, default: false, null: false
- end
-
- add_index :boards_epic_user_preferences, :board_id
- add_index :boards_epic_user_preferences, :user_id
- add_index :boards_epic_user_preferences, :epic_id
- add_index :boards_epic_user_preferences, [:board_id, :user_id, :epic_id], unique: true, name: 'index_boards_epic_user_preferences_on_board_user_epic_unique'
- end
-
- def down
- drop_table :boards_epic_user_preferences
- end
-end