Sha256: cfcdaa02782cff9410e2e637a7d70899a10d13bc6001793fb61c6f707d36b6f1

Contents?: true

Size: 553 Bytes

Versions: 28

Compression:

Stored size: 553 Bytes

Contents

class Add<%= get_locale.classify %>Translation < ActiveRecord::Migration

  def change
    add_column :kuhsaft_pages, :title_<%= get_locale %>, :string
    add_column :kuhsaft_pages, :slug_<%= get_locale %>, :string
    add_column :kuhsaft_pages, :keywords_<%= get_locale %>, :string
    add_column :kuhsaft_pages, :description_<%= get_locale %>, :text
    add_column :kuhsaft_pages, :body_<%= get_locale %>, :text
    add_column :kuhsaft_pages, :url_<%= get_locale %>, :text
    add_column :kuhsaft_pages, :fulltext_<%= get_locale %>, :text
  end

end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
kuhsaft-1.2.1 lib/templates/kuhsaft/translations/add_translation.html.erb
kuhsaft-1.2.0 lib/templates/kuhsaft/translations/add_translation.html.erb
kuhsaft-1.1.1 lib/templates/kuhsaft/translations/add_translation.html.erb
kuhsaft-1.1.0 lib/templates/kuhsaft/translations/add_translation.html.erb
kuhsaft-1.0.3 lib/templates/kuhsaft/translations/add_translation.html.erb
kuhsaft-1.0.2 lib/templates/kuhsaft/translations/add_translation.html.erb
kuhsaft-1.0.1 lib/templates/kuhsaft/translations/add_translation.html.erb
kuhsaft-1.0.0 lib/templates/kuhsaft/translations/add_translation.html.erb