Sha256: 6f09d8cb7179239aa1efa81b74df1e4433910e6e0d731fe2dc1cba365403763d

Contents?: true

Size: 283 Bytes

Versions: 2

Compression:

Stored size: 283 Bytes

Contents

class CreateNotifyUserNotifications < ActiveRecord::Migration
  def change
    create_table :notify_user_notifications do |t|
      t.string :type
      t.integer :target_id
      t.string :target_type
      t.text :params
      t.string :state

      t.timestamps
    end
  end
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
notify_user-0.0.1 lib/generators/notify_user/install/templates/migration.rb
notify_user-0.0.1 spec/dummy/rails-4.0.2/db/migrate/20140105070448_create_notify_user_notifications.rb