Sha256: f16d22961c3c4b0819b29db9d858ef8be915d94e1d177e896eb8c923fcbffdac

Contents?: true

Size: 299 Bytes

Versions: 2

Compression:

Stored size: 299 Bytes

Contents

class CreateProductTypes < ActiveRecord::Migration
  def self.up
    create_table :product_types
    ProductType.create_translation_table!(:name=> :string, :url => :string, :description => :text)
  end

  def self.down
    ProductType.drop_translation_table!
    drop_table :product_types
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
forgeos_commerce-1.9.1.rc1 db/migrate/20091009134805_create_product_types.rb
forgeos_commerce-1.9.0 db/migrate/20091009134805_create_product_types.rb