Moved orcid_id from users table to user_identifiers. Added option_based flag to question_formats. switched Object.const_defined to table_exists checks in db migrations because rails loads references to classes on demand so the objects are likely not defined when the migrations run. safer to check for the underlying table's existence
dev
1 parent d8297b7 commit a7c30d41f2731dc7ba005e4691580a45cb64e773
@briley briley authored on 30 Jan 2017
Showing 16 changed files
View
app/models/answer.rb
View
db/migrate/20131118094629_change_versions_published.rb
View
db/migrate/20150809210811_add_field_to_questions.rb
View
db/migrate/20151208142029_add_field_to_guidances.rb
View
db/migrate/20151208142836_update_field_in_guidance_groups.rb
View
db/migrate/20161021100420_single_organisation_for_users.rb
View
db/migrate/20161122152339_new_plan_template_structure.rb
View
db/migrate/20161205095624_replacing_organisation_types_with_bitflags.rb
View
db/migrate/20161205095625_replacing_plan_roles_with_bitflags.rb
View
db/migrate/20161206122926_add_foreign_keys.rb
View
db/migrate/20161208122123_single_group_for_guidance.rb
View
db/migrate/20170130173049_add_option_based_to_question_formats.rb 0 → 100644
View
db/migrate/20170130173612_move_orcid_id_from_users_to_user_identifiers.rb 0 → 100644
View
db/schema.rb
View
db/seeds.rb
View
test/unit/answer_test.rb