Retrospring/db/migrate/20141213182609_create_notif...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
284 B
Ruby
Raw Normal View History

2023-10-19 16:37:34 -07:00
# frozen_string_literal: true
class CreateNotifications < ActiveRecord::Migration[4.2]
2014-12-13 10:30:10 -08:00
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