blob: dcbe517676ee130a948e28e430113c99dd62a9ed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
class CreateNotifications < ActiveRecord::Migration[5.0]
def change
create_table :notifications do |t|
t.integer :account_id
t.integer :activity_id
t.string :activity_type
t.timestamps
end
add_index :notifications, :account_id
end
end
|