mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:40:00 +08:00
12 lines
284 B
Ruby
12 lines
284 B
Ruby
|
# 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
|