discourse/db/migrate/20191107032231_change_notification_level.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
284 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class ChangeNotificationLevel < ActiveRecord::Migration[6.0]
def up
change_column :category_users, :notification_level, :integer, null: true
end
def down
change_column :category_users, :notification_level, :integer, null: false
end
end