Sha256: 7a404b62df48c92c201e654135248b285b109804ee4e6545ec2daaa681e3f9d5
Contents?: true
Size: 375 Bytes
Versions: 4
Compression:
Stored size: 375 Bytes
Contents
class CreateJeraPushDevices < ActiveRecord::Migration<%= migration_version %> def change create_table :jera_push_devices do |t| t.string :token, index: true t.string :platform, index: true t.references :pushable, polymorphic: true, index: true t.timestamps end add_index :jera_push_devices, [:token, :platform], unique: true end end
Version data entries
4 entries across 4 versions & 1 rubygems