Sha256: cbfafa1b0bfab70fb7bd9d7137f6a17e46d45c7ce8eaf8bceae927180d1e93d5

Contents?: true

Size: 199 Bytes

Versions: 15

Compression:

Stored size: 199 Bytes

Contents

class CreateCategoryTranslations < ActiveRecord::Migration
  def self.up
    Category.create_translation_table! :title => :string
  end

  def self.down
    Category.drop_translation_table
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
adva-0.3.2 db/migrate/20090702200226_create_category_translations.rb
adva-0.3.1 db/migrate/20090702200226_create_category_translations.rb
adva-0.3.0 db/migrate/20090702200226_create_category_translations.rb
adva-0.2.4 db/migrate/20090702200226_create_category_translations.rb
adva-0.2.3 db/migrate/20090702200226_create_category_translations.rb
adva-0.2.2 db/migrate/20090702200226_create_category_translations.rb
adva-0.2.1 db/migrate/20090702200226_create_category_translations.rb
adva-0.2.0 db/migrate/20090702200226_create_category_translations.rb
adva-0.1.4 db/migrate/20090702200226_create_category_translations.rb
adva-0.1.3 db/migrate/20090702200226_create_category_translations.rb
adva-0.1.2 db/migrate/20090702200226_create_category_translations.rb
adva-0.1.1 db/migrate/20090702200226_create_category_translations.rb
adva-0.1.0 db/migrate/20090702200226_create_category_translations.rb
adva_cms-0.0.1 db/migrate/20090702200226_create_category_translations.rb
adva-0.0.1 adva_cms/db/migrate/20090702200226_create_category_translations.rb