Sha256: 3266a1e62ae557964ec7755c1ffcd2bb02234e2c37827b757b0de2901b1775c0

Contents?: true

Size: 494 Bytes

Versions: 4

Compression:

Stored size: 494 Bytes

Contents

class CreateC80YaxPropNames < ActiveRecord::Migration
  def change
    create_table :c80_yax_prop_names, :options => 'COLLATE=utf8_unicode_ci' do |t|
      t.string :title
      t.boolean :is_normal_price
      t.boolean :is_excluded_from_filtering
      t.references :uom, index: true
      t.references :related, index: true # NOTE:: see forbiz schema.rb:518: "prop_names" t.integer "related" (скорее всего, был забыт _id)

      t.timestamps null: false
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
c80_yax-0.1.0.4 db/migrate/20161108095950_create_c80_yax_prop_names.rb
c80_yax-0.1.0.3 db/migrate/20161108095950_create_c80_yax_prop_names.rb
c80_yax-0.1.0.2 db/migrate/20161108095950_create_c80_yax_prop_names.rb
c80_yax-0.1.0.1 db/migrate/20161108095950_create_c80_yax_prop_names.rb