Here are my two models:
User - id - name - email hasMany Licences Licence - id - user_id - type - number belongsTo User
In their profile