debian-mirror-gitlab/db/migrate/20200730131946_add_hide_lists_to_boards.rb

11 lines
295 B
Ruby
Raw Normal View History

2020-10-24 23:57:45 +05:30
# 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