Sha256: 129fcc4e605f345592166f155bc7f18c95b94960c1954677f22c1ac80e2b3624

Contents?: true

Size: 385 Bytes

Versions: 4

Compression:

Stored size: 385 Bytes

Contents

class J7W1ApplicationDevices < ActiveRecord::Migration
  def change
    create_table :j7w1_application_devices do |t|
      t.string  :owner_type,          null: false
      t.integer :owner_id,            null: false
      t.string  :device_identifier,   null: false
      t.string  :platform,            null: false
      t.string  :device_endpoint_arn, null: true
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
j7w1-0.0.4 lib/generators/j7_w1/migration/templates/active_record/migration.rb
j7w1-0.0.3 lib/generators/j7_w1/migration/templates/active_record/migration.rb
j7w1-0.0.2 lib/generators/j7_w1/migration/templates/active_record/migration.rb
j7w1-0.0.1 lib/generators/j7_w1/migration/templates/active_record/migration.rb