User Model T#
path: /user/
Models#
User model#
basic info for all users. This model is used for authentication
CoachProfile model#
keep all coach-specific data.
One-to-one relation to the user model
mother_tongue,coaching_language=>fkrelated tometa.Dialet
Education model#
keep all coach efucation instance, foreign key relation
each coach should only have at most 5 education instance
Certification model#
keep all coach certificatoin instance, foreign key relation
each coach should only have at most 5 education instance
the attachment is stored at /media/certificate/<coach_id>/
Vetting model#
keep all coach kyc status, one-to-one relation to the user model
enum:
PD => PENDING
RE => REVIEWING
AP => APPROVED
Warning
as the migration to use seperate model to keep coach profile is on-going, some fields are moving to the CoachProfile model. These fields are being deprecated and should be removed in future to keep db simple and avoid confusion