Sha256: b9070cbbf1372b1fc337b6215070dcdd81c7a8fe91ca544ec9bedcaac9488331
Contents?: true
Size: 402 Bytes
Versions: 8
Compression:
Stored size: 402 Bytes
Contents
class CreateComableProducts < ActiveRecord::Migration def change create_table :comable_products do |t| t.string :name, null: false t.string :code, null: false t.integer :price, null: false t.text :caption t.string :sku_h_item_name t.string :sku_v_item_name t.timestamps null: false end add_index :comable_products, :code, unique: true end end
Version data entries
8 entries across 8 versions & 2 rubygems