History for dmpopidor / db / migrate / 20161122152339_new_plan_template_structure.rb
2017-02-08
@briley
added check to migration to see if new_plan table exists prior to attempt to create a new NewPlan model
briley committed on 8 Feb 2017
2017-01-30
@briley
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
briley committed on 30 Jan 2017
2017-01-27
@Brian Riley
Added checks to migration files that manipulate data to make sure that the model they are attempting to access is defined in the current codebase
Brian Riley committed on 27 Jan 2017
2017-01-25
@briley
fixed merge conflicts
briley committed on 25 Jan 2017
2017-01-17
@xsrust
updated the migration to set the customizing organisation properly
xsrust committed on 17 Jan 2017
2017-01-12
@xsrust
fixed template versioning and customisers in migration
xsrust committed on 12 Jan 2017
2016-12-13
@xsrust
final tweks to ensure all migrations happen together
xsrust committed on 13 Dec 2016
2016-12-12
@Sam Rust
updated data migration to not over-write organisation_id for templates with nil
Sam Rust authored on 12 Dec 2016 GitHub committed on 12 Dec 2016
2016-12-08
@xsrust
additionally stores old project_id for new_plans
xsrust committed on 8 Dec 2016
2016-12-06
@xsrust
changed the way answers are selected in migration
xsrust committed on 6 Dec 2016
2016-12-05
@xsrust
updated prefetching, relocated index definition, and removed debug for migration
xsrust committed on 5 Dec 2016
@xsrust
wrapped migration in transaction for performance
xsrust committed on 5 Dec 2016
2016-11-30
@xsrust
updated code to write user-generated content (answers/notes)
xsrust committed on 30 Nov 2016
@xsrust
removed early cutting for template project and relpaced with better selection
xsrust committed on 30 Nov 2016
@xsrust
updated to allow template versioning to function correctly
xsrust committed on 30 Nov 2016
2016-11-29
@xsrust
total schema data migration: now with customized templates
xsrust committed on 29 Nov 2016
@xsrust
preliminary migration of db schema - migration subject to change
xsrust committed on 29 Nov 2016