mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-08 04:33:36 +01:00
13 lines
248 B
Ruby
13 lines
248 B
Ruby
|
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
|