Sha256: 68d16832d53eeade06631b6792b74706c272a590b3c91b90e63dfc1be35c0778

Contents?: true

Size: 392 Bytes

Versions: 24

Compression:

Stored size: 392 Bytes

Contents

class CreateC80YaxItemProps < ActiveRecord::Migration
  def change
    create_table :c80_yax_item_props, :options => 'COLLATE=utf8_unicode_ci' do |t|
      t.string :value
      t.references :item, index: true
      t.references :prop_name, index: true

      t.timestamps null: false
    end
    # add_foreign_key :item_props, :items
    # add_foreign_key :item_props, :prop_names
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
c80_yax-0.1.0.25 db/migrate/20161108102828_create_c80_yax_item_props.rb
c80_yax-0.1.0.24 db/migrate/20161108102828_create_c80_yax_item_props.rb
c80_yax-0.1.0.23 db/migrate/20161108102828_create_c80_yax_item_props.rb
c80_yax-0.1.0.22 db/migrate/20161108102828_create_c80_yax_item_props.rb
c80_yax-0.1.0.21 db/migrate/20161108102828_create_c80_yax_item_props.rb
c80_yax-0.1.0.20 db/migrate/20161108102828_create_c80_yax_item_props.rb
c80_yax-0.1.0.18 db/migrate/20161108102828_create_c80_yax_item_props.rb
c80_yax-0.1.0.17 db/migrate/20161108102828_create_c80_yax_item_props.rb
c80_yax-0.1.0.16 db/migrate/20161108102828_create_c80_yax_item_props.rb
c80_yax-0.1.0.15 db/migrate/20161108102828_create_c80_yax_item_props.rb
c80_yax-0.1.0.14 db/migrate/20161108102828_create_c80_yax_item_props.rb
c80_yax-0.1.0.13 db/migrate/20161108102828_create_c80_yax_item_props.rb
c80_yax-0.1.0.12 db/migrate/20161108102828_create_c80_yax_item_props.rb
c80_yax-0.1.0.11 db/migrate/20161108102828_create_c80_yax_item_props.rb
c80_yax-0.1.0.10 db/migrate/20161108102828_create_c80_yax_item_props.rb
c80_yax-0.1.0.9 db/migrate/20161108102828_create_c80_yax_item_props.rb
c80_yax-0.1.0.8 db/migrate/20161108102828_create_c80_yax_item_props.rb
c80_yax-0.1.0.7 db/migrate/20161108102828_create_c80_yax_item_props.rb
c80_yax-0.1.0.6 db/migrate/20161108102828_create_c80_yax_item_props.rb
c80_yax-0.1.0.5 db/migrate/20161108102828_create_c80_yax_item_props.rb