Sha256: 5a7f2b4f3d40131641cd7c6923d70a761ff45f18940c71637d5a7b6278816256

Contents?: true

Size: 205 Bytes

Versions: 16

Compression:

Stored size: 205 Bytes

Contents

class AddPageTitleToPages < ActiveRecord::Migration
  def change
    I18n.available_locales.each do |locale|
      add_column :qbrick_pages, "page_title_#{locale.to_s.underscore}", :text
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
qbrick-2.7.1 db/migrate/13_add_page_title_to_pages.rb
qbrick-2.7 db/migrate/13_add_page_title_to_pages.rb
qbrick-2.6.10 db/migrate/13_add_page_title_to_pages.rb
qbrick-2.6.9 db/migrate/13_add_page_title_to_pages.rb
qbrick-2.6.8 db/migrate/13_add_page_title_to_pages.rb
qbrick-2.6.7 db/migrate/13_add_page_title_to_pages.rb
qbrick-2.6.6 db/migrate/13_add_page_title_to_pages.rb
qbrick-2.6.5 db/migrate/13_add_page_title_to_pages.rb
qbrick-2.6.4 db/migrate/13_add_page_title_to_pages.rb
qbrick-2.6.3 db/migrate/13_add_page_title_to_pages.rb
qbrick-2.6.2 db/migrate/13_add_page_title_to_pages.rb
qbrick-2.6.1 db/migrate/13_add_page_title_to_pages.rb
qbrick-2.6.0 db/migrate/13_add_page_title_to_pages.rb
qbrick-2.5.2 db/migrate/13_add_page_title_to_pages.rb
qbrick-2.5.1 db/migrate/13_add_page_title_to_pages.rb
qbrick-2.5.0 db/migrate/13_add_page_title_to_pages.rb