feature/seed-v3 : add 1 seed file for mysql and 3 files for mongodb#16
Open
Ibrah131 wants to merge 3 commits intodevelopmentfrom
Open
feature/seed-v3 : add 1 seed file for mysql and 3 files for mongodb#16Ibrah131 wants to merge 3 commits intodevelopmentfrom
Ibrah131 wants to merge 3 commits intodevelopmentfrom
Conversation
julie-belrose
requested changes
Oct 7, 2025
Owner
julie-belrose
left a comment
There was a problem hiding this comment.
Globalement l'ensemble c'est niquel, il y a quelques petits erreurs de logique de type d'attribut. Par contre, tu n'es pas obligé de faire énormément de données seed 😉
| (13,13,'sarah.mu','Lyon 6e - Foch',99), | ||
| (14,14,'thomas.c','Oullins',77), | ||
| (15,15,'ines.lm','Bron',74), | ||
| -- Agents 16..30 |
Owner
There was a problem hiding this comment.
ici ce ne sont que des citoyens
Collaborator
|
Rien à signaler — seeds clairs et cohérents. |
julie-belrose
requested changes
Oct 7, 2025
| "recipient_user_id": 32, | ||
| "recipient_role": "citizen", | ||
| "title": "Prise en charge", | ||
| "content": "Votre signalement est en cours par l’Équipe Vaise B.", |
Owner
There was a problem hiding this comment.
Il y a une incohérence avec le MCD :
🔑 _id: ObjectId [1] |
| user_id: int [1] |
| title: string [1] |
| content: string [1] |
| target_type: string [0..1] |
| target_id: ObjectId [0..1] |
| read: boolean [1] |
| created_at: datetime [1]
| "agent_id": 201, | ||
| "assigned_by": 1, | ||
| "assigned_team": { "id": 301, "name": "Équipe Gerland A", "center_id": 1 }, | ||
| "status": "ouvert", |
Owner
There was a problem hiding this comment.
il manque juste le champs, updated_at , oublier dans le MCD mais nécessaire pour les report et les logs 😉
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Branche : feature/seed-v3 (créée depuis development)
Scope : Ajout de seeds Mongo + SQL. Aucun fichier existant modifié.
La table de logs n’existait pas : j’ai proposé un exemple de table activity_log+ 15 logs métier (changement de statut, affectation, SLA, etc.). A voir.