module TbCheckout::Schema::TableDefinition

Public Instance Methods

tb_checkout_purchasable() click to toggle source

Add purchasable columns to the given database table

# File lib/tb_checkout/schema.rb, line 32
def tb_checkout_purchasable
  column(:description, :string)
  column(:price, :decimal, :precision => 8, :scale => 2)
end