Sha256: b87598f483cf1c6f2d4fbf1cd0ad4a0ceb3f80d754b4f48d55dcab7c1de06d83
Contents?: true
Size: 486 Bytes
Versions: 2
Compression:
Stored size: 486 Bytes
Contents
class CreateProductTechSpecs < ActiveRecord::Migration def change create_table :product_tech_specs do |t| t.references :product, :null => false t.string :entry_key, :null => false t.text :value, :null => false t.integer :value_type, :null => false t.boolean :symbol_key, :null => false, :default => true t.timestamps end add_index :product_tech_specs, :product_id add_index :product_tech_specs, :entry_key end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
eav_hashes-1.0.1 | spec/dummy/db/migrate/20121210055854_create_product_tech_specs.rb |
eav_hashes-1.0.0 | spec/dummy/db/migrate/20121210055854_create_product_tech_specs.rb |