Sha256: 2e3082baeac5ca83c717c60303cf9bdcc10f95030a32a6504c6a3c7f9e5d3dda

Contents?: true

Size: 193 Bytes

Versions: 9

Compression:

Stored size: 193 Bytes

Contents

class CreateUserTranslations < ActiveRecord::Migration
  def up
    User.create_translation_table!(
      :title => :string
    )
  end
  
  def down
    User.drop_translation_table!
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gettext_simple_rails-0.0.19 spec/dummy/db/migrate/20140515092420_create_user_translations.rb
gettext_simple_rails-0.0.17 spec/dummy/db/migrate/20140515092420_create_user_translations.rb
gettext_simple_rails-0.0.16 spec/dummy/db/migrate/20140515092420_create_user_translations.rb
gettext_simple_rails-0.0.15 spec/dummy/db/migrate/20140515092420_create_user_translations.rb
gettext_simple_rails-0.0.14 spec/dummy/db/migrate/20140515092420_create_user_translations.rb
gettext_simple_rails-0.0.13 spec/dummy/db/migrate/20140515092420_create_user_translations.rb
gettext_simple_rails-0.0.12 spec/dummy/db/migrate/20140515092420_create_user_translations.rb
gettext_simple_rails-0.0.11 spec/dummy/db/migrate/20140515092420_create_user_translations.rb
gettext_simple_rails-0.0.10 spec/dummy/db/migrate/20140515092420_create_user_translations.rb