debian-mirror-gitlab/db/post_migrate/20210721122840_remove_seat_link_enabled_from_application_settings.rb
2021-11-11 11:23:49 +05:30

12 lines
305 B
Ruby

# 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