History for dmpopidor / db
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 the migration to set the customizing organisation properly
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-11
@briley
switched visibility over to an enum. updated the project objects accordingly. Added some more unit tests. Updated locale files with visibility text
briley committed on 11 Jan 2017
@xsrust
updated foreign keys null refreence ripper to remove things from a join table
xsrust committed on 11 Jan 2017
@xsrust
re-aranged migrations so that big_flags for orgs happen before foreign keys
xsrust committed on 11 Jan 2017
@xsrust
re-aranged migraitons so that bit_flags for roles happens before foreign keys
xsrust committed on 11 Jan 2017
@xsrust
added role scrubbing to foreign keys migration
xsrust committed on 11 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-06
@Brian Riley
commented out problematic index in db migration for active admin table
Brian Riley committed on 6 Jan 2017
@Brian Riley
commented out problematic index in db migration for active admin table
Brian Riley committed on 6 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
@xsrust
replaced plan roles with bitflags
xsrust committed on 13 Dec 2016
@xsrust
removed organisation_types and replaced with bitflags
xsrust committed on 13 Dec 2016
2016-12-12
@xsrust
replaces Organisation. with Org. in all files
xsrust committed on 12 Dec 2016
@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
updated removing_intermediary_tables to remove some other unused tables
xsrust committed on 8 Dec 2016
@xsrust
updated schema
xsrust committed on 8 Dec 2016
@xsrust
added migration to make a many to one relationship guidances > guidance_groups, additionally, removed the project groups and projects tables
xsrust committed on 8 Dec 2016
@xsrust
added migration to add foreign keys. Also needed to remove the temporary models, and update existing models to reflect the new relationships
xsrust committed on 8 Dec 2016