History for dmpopidor / db / schema.rb
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
@briley
resolved merge conflicts
briley committed on 30 Jan 2017
2017-01-27
@Brian Riley
replaced use of fixtures with db/seeds.rb. no point in maintaining both
Brian Riley committed on 27 Jan 2017
@Brian Riley
added new seed file that works with new schema. commented out plans and answers for now though because plan model is unfinished
Brian Riley committed on 27 Jan 2017
@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-26
@briley
added checks in migration code where we try to manipulate data belonging to a table that no longer exists in the current codebase
briley committed on 26 Jan 2017
@briley
resolved merge conflicts
briley committed on 26 Jan 2017
2017-01-25
@briley
merged final_schema changes into visibility
briley committed on 25 Jan 2017
@briley
fixed merge conflicts
briley committed on 25 Jan 2017
@briley
fixed merge conflicts in branding.yml and schema.rb
briley committed on 25 Jan 2017
@briley
added in new files for public plans page. added code coverage to .gitignore
briley committed on 25 Jan 2017
2017-01-24
@briley
extracted plan visibility work out of dev branch for PR to DCC
briley committed on 24 Jan 2017
2017-01-20
@Brian Riley
put validation back in place that ensures a question can only have a single answer within a plan
Brian Riley committed on 20 Jan 2017
2017-01-17
@xsrust
changed schema to be correct for data migration
xsrust committed on 17 Jan 2017
@xsrust
updated schema to reflect final set of migrations after going through process from scratch
xsrust committed on 17 Jan 2017
2017-01-13
@Brian Riley
fixed merge conflict in seeds.rb file. installed substance-rails gem and updated code to swap in the substance-forms text-area for tinymce on the answer section of the edit plans page
Brian Riley committed on 13 Jan 2017
2017-01-12
@briley
Switched answer text area to substance editor.
briley committed on 12 Jan 2017
@xsrust
fixed template versioning and customisers in migration
xsrust committed on 12 Jan 2017
2017-01-10
@briley
switched visibility to be a bit flag using FlagShihTzu instead of a lookup table. adjusted db migration. Removed all of the empty stub test files generated by the rails scaffolding mechanism.
briley committed on 10 Jan 2017
2017-01-05
@Brian Riley
Added visibility model, and started updating tests for public dmps controller but we need to create fixtures which is extremely difficult with the current state of the DB. Will wait for refactor before finishing tests.
Brian Riley committed on 5 Jan 2017
@Brian Riley
removed old is_test and is_public migrations for projects table and added migration for visibilities table
Brian Riley committed on 5 Jan 2017
2017-01-04
@briley
Added initial public DMPs page to display public plans to unauthenticated users
briley committed on 4 Jan 2017
2017-01-03
@briley
fixed bug in is_test and is_public setters so that it allows both a true boolean or an int
briley committed on 3 Jan 2017
@briley
Added an index to the projects table for id, is_test and is_public
briley committed on 3 Jan 2017
@briley
Added is_test and is_public flags to the projects table. Added unit tests for new fields. Removed unecessary attr_accessible section from projects model. Added setters for new flag fields so that only one can be true at a given time
briley committed on 3 Jan 2017
2016-12-13
@xsrust
final tweks to ensure all migrations happen together
xsrust committed on 13 Dec 2016
2016-12-12
@xsrust
replaces Organisation. with Org. in all files
xsrust committed on 12 Dec 2016
2016-12-08
@xsrust
updated schema
xsrust committed on 8 Dec 2016
2016-11-10
@briley
Had to remove code that was building devise omniauth connections dynamically. The timing of when the rails engine builds the routes and the models is not conducive to this approach
briley committed on 10 Nov 2016
2016-11-09
@briley
Added domain to the identifier_Scheme table. Added unit and functional tests for the identifier_scheme functionality
briley committed on 9 Nov 2016