Sha256: e1daba9df8d4f1c7802b5cd111a6aeafda628849bcbe511b74a31ed36eac328d

Contents?: true

Size: 215 Bytes

Versions: 16

Compression:

Stored size: 215 Bytes

Contents

class AddRedirectUrlToQbrickPages < ActiveRecord::Migration
  def change
    I18n.available_locales.each do |locale|
      add_column :qbrick_pages, "redirect_url_#{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/10_add_redirect_url_to_qbrick_pages.rb
qbrick-2.7 db/migrate/10_add_redirect_url_to_qbrick_pages.rb
qbrick-2.6.10 db/migrate/10_add_redirect_url_to_qbrick_pages.rb
qbrick-2.6.9 db/migrate/10_add_redirect_url_to_qbrick_pages.rb
qbrick-2.6.8 db/migrate/10_add_redirect_url_to_qbrick_pages.rb
qbrick-2.6.7 db/migrate/10_add_redirect_url_to_qbrick_pages.rb
qbrick-2.6.6 db/migrate/10_add_redirect_url_to_qbrick_pages.rb
qbrick-2.6.5 db/migrate/10_add_redirect_url_to_qbrick_pages.rb
qbrick-2.6.4 db/migrate/10_add_redirect_url_to_qbrick_pages.rb
qbrick-2.6.3 db/migrate/10_add_redirect_url_to_qbrick_pages.rb
qbrick-2.6.2 db/migrate/10_add_redirect_url_to_qbrick_pages.rb
qbrick-2.6.1 db/migrate/10_add_redirect_url_to_qbrick_pages.rb
qbrick-2.6.0 db/migrate/10_add_redirect_url_to_qbrick_pages.rb
qbrick-2.5.2 db/migrate/10_add_redirect_url_to_qbrick_pages.rb
qbrick-2.5.1 db/migrate/10_add_redirect_url_to_qbrick_pages.rb
qbrick-2.5.0 db/migrate/10_add_redirect_url_to_qbrick_pages.rb