mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 18:19:52 +01:00
14 lines
284 B
Ruby
14 lines
284 B
Ruby
# frozen_string_literal: true
|
|
|
|
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
|