Sha256: 0a5f25a539a33ba45c4d5a3974871609cd19739cc19858fc0d4a2fe6570efc96

Contents?: true

Size: 176 Bytes

Versions: 13

Compression:

Stored size: 176 Bytes

Contents

class AddLocaleToAnswerSheet < ActiveRecord::Migration[4.2]
  def change
    add_column Fe.answer_sheet_class.constantize.table_name, :locale, :string, default: 'en'
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fe-2.1.5 db/migrate/20150714220730_add_locale_to_answer_sheet.rb
fe-2.1.4 db/migrate/20150714220730_add_locale_to_answer_sheet.rb
fe-2.1.3 db/migrate/20150714220730_add_locale_to_answer_sheet.rb
fe-2.1.2 db/migrate/20150714220730_add_locale_to_answer_sheet.rb
fe-2.1.1 db/migrate/20150714220730_add_locale_to_answer_sheet.rb
fe-2.0.8 db/migrate/20150714220730_add_locale_to_answer_sheet.rb
fe-2.0.6 db/migrate/20150714220730_add_locale_to_answer_sheet.rb
fe-2.0.5 db/migrate/20150714220730_add_locale_to_answer_sheet.rb
fe-2.0.4 db/migrate/20150714220730_add_locale_to_answer_sheet.rb
fe-2.0.3 db/migrate/20150714220730_add_locale_to_answer_sheet.rb
fe-2.0.2 db/migrate/20150714220730_add_locale_to_answer_sheet.rb
fe-2.0.1 db/migrate/20150714220730_add_locale_to_answer_sheet.rb
fe-2.0.0 db/migrate/20150714220730_add_locale_to_answer_sheet.rb