Sha256: 7b36684f39fabd85fca61485dbc40ba1529896d6bee5c2a82e437cafc71f5df9

Contents?: true

Size: 232 Bytes

Versions: 6

Compression:

Stored size: 232 Bytes

Contents

class CreateCategoryTranslations < ActiveRecord::Migration
  def self.up
    Category.create_translation_table!(:url=>:string,:name=>:string,:description=>:text)
  end

  def self.down
    Category.drop_translation_table!
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
forgeos_core-1.9.5.rc2 db/migrate/20091208113465_create_category_translations.rb
forgeos_core-1.9.5.rc1 db/migrate/20091208113465_create_category_translations.rb
forgeos_core-1.9.4 db/migrate/20091208113465_create_category_translations.rb
forgeos_core-1.9.3 db/migrate/20091208113465_create_category_translations.rb
forgeos_core-1.9.2 db/migrate/20091208113465_create_category_translations.rb
forgeos_core-1.9.1 db/migrate/20091208113465_create_category_translations.rb