Sha256: 168ca54126cc83d9f6230608c14e51575b783a671e0b241f5891fcc415bc5f0d

Contents?: true

Size: 399 Bytes

Versions: 3

Compression:

Stored size: 399 Bytes

Contents

# This migration comes from tb_commerce_engine (originally 20150402150723)
class CreateTbCommerceProducts < ActiveRecord::Migration
  def change
    create_table :tb_commerce_products do |t|
      t.string :title
      t.text :description
      t.decimal :price, :precision => 8, :scale => 2
      t.string :slug
      t.index :slug, :unique => true
      t.timestamps null: false
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tb_commerce-0.0.4 spec/dummy/db/migrate/20150409180566_create_tb_commerce_products.tb_commerce_engine.rb
tb_commerce-0.0.3 spec/dummy/db/migrate/20150409180566_create_tb_commerce_products.tb_commerce_engine.rb
tb_commerce-0.0.2 spec/dummy/db/migrate/20150409180566_create_tb_commerce_products.tb_commerce_engine.rb