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/20200730131946_add_hide_lists_to_boards.rb')
-rw-r--r--db/migrate/20200730131946_add_hide_lists_to_boards.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20200730131946_add_hide_lists_to_boards.rb b/db/migrate/20200730131946_add_hide_lists_to_boards.rb
new file mode 100644
index 00000000000..e431ea852a7
--- /dev/null
+++ b/db/migrate/20200730131946_add_hide_lists_to_boards.rb
@@ -0,0 +1,10 @@
+# frozen_string_literal: true
+
+class AddHideListsToBoards < ActiveRecord::Migration[6.0]
+ DOWNTIME = false
+
+ def change
+ add_column :boards, :hide_backlog_list, :boolean, default: false, null: false
+ add_column :boards, :hide_closed_list, :boolean, default: false, null: false
+ end
+end