mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 18:39:52 +01:00
12 lines
253 B
Ruby
12 lines
253 B
Ruby
class CreateNotifications < ActiveRecord::Migration[4.2]
|
|
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
|