History for dmpopidor / db
2017-01-03
@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
@xsrust
updated migration to remove all new_table_name structures
xsrust committed on 8 Dec 2016
@xsrust
init commit of migration to remove old tables and rename intermediary ones
xsrust committed on 8 Dec 2016
@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-12-02
@Brian Riley
Resolved merge conflicts with fr.yml locale file and the user.rb model. Kept 'language_id' in the attr_accessible list and kept both the self.from_omniauth and reset_password_link methods.
Brian Riley committed on 2 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
@xsrust
renamed roles to perms
xsrust committed on 29 Nov 2016
2016-11-15
@Ruby Rails Dev Account
expand migration to work with pg
Ruby Rails Dev Account committed on 15 Nov 2016
@xsrust
removed the unused user_id field from the dmptemplates table
xsrust committed on 15 Nov 2016
@xsrust
removed domain and stylesheet_id from organisation. Both were unused on the front and back ends of the tool
xsrust committed on 15 Nov 2016
@xsrust
removed role_in_plans, resource_id, and resource_type from the roles table. All were unused
xsrust committed on 15 Nov 2016
@xsrust
removed parent_id field from questions table
xsrust committed on 15 Nov 2016
@xsrust
removed option_warnings table and unused code surrounding the structure
xsrust committed on 15 Nov 2016
@xsrust
removed user_statuses, user_types, and user_role_types tables and associations which referenced them
xsrust committed on 15 Nov 2016