summaryrefslogtreecommitdiff
path: root/db/post_migrate/20210721122840_remove_seat_link_enabled_from_application_settings.rb
blob: 20118dbbac8fecfba67023a34c0b10dff785ab22 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class RemoveSeatLinkEnabledFromApplicationSettings < ActiveRecord::Migration[6.1]
  def up
    remove_column :application_settings, :seat_link_enabled
  end

  def down
    add_column :application_settings, :seat_link_enabled, :boolean, null: false, default: true
  end
end