#288 user/userpreferences one-to-one relation

V3.2
closed
Marco
None
5
2015-09-21
2013-05-17
Marco
No

userprefs relation to user fixed mapping;
1. 'userpreferences' (constraint) should depend on parent entity 'user'
2. 'user' and 'userpreferences' must have the same primary id, to fix the data, the userpreferences referenced from a user.preferences_id must have the id fixed accordingly. -> to be described!
->otherwise empty the userpreferencesbean table and drop the field preferences_id on the userbean table manually, all users preferences will be lost and have to be set again.

patch included..

1 Attachments

Discussion

  • Marco

    Marco - 2015-09-21

    For migration, the best option would be to reset userpreferences by dropping the userpreferences table before starting itracker. If preferences must be preserved, see changelogs for 3.2 for detailed instructions.

     
  • Marco

    Marco - 2015-09-21
    • status: open --> closed
     

Log in to post a comment.