Sha256: eb2dffc7123059a1c4422abfce37742dbfd43b706dd010ae7ea4cafacc573d85

Contents?: true

Size: 478 Bytes

Versions: 11

Compression:

Stored size: 478 Bytes

Contents

class AddLanguagesToWines < ActiveRecord::Migration
  def change
    rename_column :wines, :name, :name_en
    add_column :wines, :name_zh, :string
    add_column :wines, :name_ja, :string
    add_column :wines, :description_en, :text
    add_column :wines, :description_zh, :text
    add_column :wines, :description_ja, :text
    add_column :wines, :food_pairing_en, :text
    add_column :wines, :food_pairing_zh, :text
    add_column :wines, :food_pairing_ja, :text
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fae-rails-1.6.0 spec/dummy/db/migrate/20150508224216_add_languages_to_wines.rb
fae-rails-1.5.1 spec/dummy/db/migrate/20150508224216_add_languages_to_wines.rb
fae-rails-1.5.0 spec/dummy/db/migrate/20150508224216_add_languages_to_wines.rb
fae-rails-1.4.1 spec/dummy/db/migrate/20150508224216_add_languages_to_wines.rb
fae-rails-1.4.0 spec/dummy/db/migrate/20150508224216_add_languages_to_wines.rb
fae-rails-1.3.1 spec/dummy/db/migrate/20150508224216_add_languages_to_wines.rb
fae-rails-1.3.0 spec/dummy/db/migrate/20150508224216_add_languages_to_wines.rb
fae-rails-1.2.5 spec/dummy/db/migrate/20150508224216_add_languages_to_wines.rb
fae-rails-1.2.4 spec/dummy/db/migrate/20150508224216_add_languages_to_wines.rb
fae-rails-1.2.3 spec/dummy/db/migrate/20150508224216_add_languages_to_wines.rb
fae-rails-1.2.2 spec/dummy/db/migrate/20150508224216_add_languages_to_wines.rb