Commit Graph

13 Commits

Author SHA1 Message Date
d8e838c6b7 replace hardcoded sql statements with corresponding sqlutils in models 2021-03-13 18:40:06 +01:00
8978aed00d models.ProfessionFilter: add a new field - QualificationID 2021-03-13 08:58:23 +01:00
a92079f315 fix or filters: use WhereOr method instead of Where 2021-03-12 08:20:42 +01:00
12d8fb51f4 - add a new method 'HasBasicDataToUpdate' to the two inputs: QuestionInput and QualificationInput
- small changes in error handling (qualification.pgRepository.UpdateMany, qualification.pgRepository.Store, profession.pgRepository.UpdateMany, profession.pgRepository.Store)
2021-03-07 13:06:00 +01:00
82853734be another part of bugfixes 2021-03-06 14:43:50 +01:00
49c8dd355a add graphql schema 2021-03-06 11:54:55 +01:00
b066446051 add QualificationInput sanitization 2021-03-06 09:01:22 +01:00
8fae4a2b03 add qualification repository and usecase 2021-02-27 14:46:00 +01:00
f49dfc5c43 profession: add pg_repository, add a new package errorutils 2021-02-27 11:33:16 +01:00
c3408ef7c8 fix not adding fk constraints 2021-02-27 10:34:06 +01:00
888734b722 add two new models QualificationFilter and QualificationFilterOr, add struct tags to the QualificationInput and two new fields - AssociateProfession and DissociateProfession 2021-02-27 08:53:51 +01:00
5fe94741ce move sql helpers to the other package, all fields in all inputs are now pointers, add a new model - QualificationToProfession 2021-02-23 19:07:55 +01:00
480fac30f4 add Qualification model, add github.com/gosimple/slug 2021-02-21 18:02:12 +01:00