Sha256: 187870404c060f84897fe1bbbcabb2cc155f270dd9abd53e5b566abe07ce2ce8
Contents?: true
Size: 508 Bytes
Versions: 8
Compression:
Stored size: 508 Bytes
Contents
class CreateJeraPushMessagesDevices < ActiveRecord::Migration def change create_table :jera_push_messages_devices do |t| t.integer :device_id, index: true, foreign_key: true t.integer :message_id, index: true, foreign_key: true t.string :status t.string :error_message t.string :firebase_id t.timestamps null: false 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
8 entries across 4 versions & 1 rubygems