Sha256: 03972ae9b6eb41792212f0ecfbf7145cc419a7dda11543e081c3fd8d85ad5125
Contents?: true
Size: 308 Bytes
Versions: 3
Compression:
Stored size: 308 Bytes
Contents
class CreateConcurrentBadgers < ActiveRecord::Migration def change create_table :concurrent_badgers do |t| t.integer :sequential_id, null: false t.integer :burrow_id end add_index :concurrent_badgers, [:sequential_id, :burrow_id], unique: true, name: 'unique_concurrent' end end
Version data entries
3 entries across 3 versions & 1 rubygems