Sha256: 6547b240d223aaf3830113023142ba2d376f894eb162e1d4b1b9001514494d15

Contents?: true

Size: 365 Bytes

Versions: 3

Compression:

Stored size: 365 Bytes

Contents

class CreateLocoNotifications < ActiveRecord::Migration[4.2]
  def change
    create_table :loco_notifications do |t|
      t.string :obj_class
      t.integer :obj_id
      t.string :event
      t.string :data
      t.string :recipient_class
      t.integer :recipient_id
      t.string :recipient_token

      t.timestamps null: false, limit: 6
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
loco-rails-1.5.2 db/migrate/20150927133812_create_loco_notifications.rb
loco-rails-1.5.1 db/migrate/20150927133812_create_loco_notifications.rb
loco-rails-1.5.0 db/migrate/20150927133812_create_loco_notifications.rb