ylaifa / reliev

1 stars 1 forks source link

Create Address model #37

Open OnyJ opened 4 years ago

OnyJ commented 4 years ago

Why ? To get Masseurs and Companies have an address.

How ? Create the model

Migration editing :

Model editing :

Testing the model in console (we need the other following models to be created before these tests : Company, CompanyProfile, Employee, EmployeeProfile). Testing link to MasseurProfile model :

Testing link to CompanyProfile model :

Must Have A complete Address model able to belong to masseurs and companies.

Reading List