Sha256: 4f2d1c662df056d48532317f95b6a3e2c4d172bf2b009e4f08c7216e2a226f3f

Contents?: true

Size: 480 Bytes

Versions: 3

Compression:

Stored size: 480 Bytes

Contents

class CreateJeraPushMessagesDevices < ActiveRecord::Migration<%= migration_version %>
  def change
    create_table :jera_push_messages_devices do |t|
      t.integer :device_id, index: true
      t.integer :message_id, index: true
      t.string :status
      t.text :error_message
      t.string :firebase_id

      t.timestamps
    end

    add_index :jera_push_messages_devices, [:device_id, :message_id], unique: true, name: :jera_push_index_messages_id_devices_id
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jera_push-2.1.4 lib/generators/active_record/templates/create_jera_push_messages_devices.rb
jera_push-2.1.3 lib/generators/active_record/templates/create_jera_push_messages_devices.rb
jera_push-2.1.2 lib/generators/active_record/templates/create_jera_push_messages_devices.rb