History for dmpopidor / db / migrate / 20161021100420_single_organisation_for_users.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
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
2016-11-02
@briley
fixed db migration so that it does not update user records in TEST mode. Added sqlite3 to gemfile for tests. Added languages fixture
briley committed on 2 Nov 2016
2016-10-25
@xsrust
modifying relationship between users and organisations \n -users now belong_to organisation \n -organisations now have_many users \n -removed the depricated user_org_roles structure with migration \n -moved data out of that structure into the existing organisation_id field of users to complete relationship \n -re-evaluated functions to do with organisation_id field, as it was used as a placeholder before
xsrust committed on 25 Oct 2016