Sha256: e1fb26a0eba8bfdc58b357c326847ea50164d8eac9b37706a30cee48054fc952

Contents?: true

Size: 351 Bytes

Versions: 4

Compression:

Stored size: 351 Bytes

Contents

# This migration comes from uuids (originally 20141016112506)
class CreateUuidsUuids < ActiveRecord::Migration
  def change
    create_table :uuids_uuids do |t|
      t.string     :value,  limit: 36, null: false
      t.references :record, polymorphic: true, null: false, index: true
    end
    add_index :uuids_uuids, :value, unique: true
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
okei-1.0.2 spec/dummy/db/migrate/20141018085226_create_uuids_uuids.uuids.rb
okei-1.0.1 spec/dummy/db/migrate/20141018085226_create_uuids_uuids.uuids.rb
okei-1.0.0 spec/dummy/db/migrate/20141018085226_create_uuids_uuids.uuids.rb
okei-1.0.0.pre.rc spec/dummy/db/migrate/20141018085226_create_uuids_uuids.uuids.rb