Sha256: 716112d53d4a8bfe51a42e428e4ed21d0718cf1ee76be8016c212aada0743f69
Contents?: true
Size: 901 Bytes
Versions: 17
Compression:
Stored size: 901 Bytes
Contents
class CreatePasskitTables < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>] def change create_table :passkit_passes do |t| t.string :generator_type t.string :klass t.bigint :generator_id t.string :serial_number t.string :authentication_token t.json :data t.integer :version t.timestamps null: false t.index [:generator_type, :generator_id], name: 'index_passkit_passes_on_generator' end create_table :passkit_devices do |t| t.string :identifier t.string :push_token t.timestamps null: false end create_table :passkit_registrations do |t| t.belongs_to :passkit_pass, index: true t.belongs_to :passkit_device, index: true t.timestamps null: false end create_table :passkit_logs do |t| t.text :content t.timestamps null: false end end end
Version data entries
17 entries across 17 versions & 1 rubygems