Sha256: fb9b063e8303f291f33fa0d951e04034900a9c5fecfb6c92a55124a436e1934b

Contents?: true

Size: 252 Bytes

Versions: 14

Compression:

Stored size: 252 Bytes

Contents

class CreateAgilibPushNotification < ActiveRecord::Migration
  def change
    create_table :devices do |t|
      t.references :user
      t.string :platform
      t.string :register

      t.timestamps
    end
    add_index :devices, :user_id
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
agilib-0.1.9 lib/generators/active_record/templates/push_notification.rb
agilib-0.1.8 lib/generators/active_record/templates/push_notification.rb
agilib-0.1.7 lib/generators/active_record/templates/push_notification.rb
agilib-0.1.6 lib/generators/active_record/templates/push_notification.rb
agilib-0.1.5 lib/generators/active_record/templates/push_notification.rb
agilib-0.1.4 lib/generators/active_record/templates/push_notification.rb
agilib-0.1.3 lib/generators/active_record/templates/push_notification.rb
agilib-0.1.2.beta6 lib/generators/active_record/templates/push_notification.rb
agilib-0.1.2.beta5 lib/generators/active_record/templates/push_notification.rb
agilib-0.1.2.beta4 lib/generators/active_record/templates/push_notification.rb
agilib-0.1.2.beta3 lib/generators/active_record/templates/push_notification.rb
agilib-0.1.2.beta2 lib/generators/active_record/templates/push_notification.rb
agilib-0.1.2.beta1 lib/generators/active_record/templates/push_notification.rb
agilib-0.1.1.beta1 lib/generators/active_record/templates/push_notification.rb