31b0e53015
It will hold notification setting per group or per project. It will allow get rid of notification level stored in Member model Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
12 lines
272 B
Ruby
12 lines
272 B
Ruby
class CreateNotificationSettings < ActiveRecord::Migration
|
|
def change
|
|
create_table :notification_settings do |t|
|
|
t.integer :user_id
|
|
t.integer :level
|
|
t.integer :source_id
|
|
t.string :source_type
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|