Retrospring/db/migrate/20141213182609_create_notif...

13 lines
248 B
Ruby
Raw Normal View History

2014-12-13 10:30:10 -08:00
class CreateNotifications < ActiveRecord::Migration
def change
create_table :notifications do |t|
t.string :target_type
t.integer :target_id
t.integer :recipient_id
t.boolean :new
t.timestamps
end
end
end