blob: db19d2e370c4236bb11e1e43e0edae44034e75b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# rubocop:disable all
class CreateNotificationSettings < ActiveRecord::Migration[4.2]
def change
create_table :notification_settings do |t|
t.references :user, null: false
t.references :source, polymorphic: true, null: false
t.integer :level, default: 0, null: false
t.timestamps null: false
end
end
end
|