donc les caractéristique retourne dans les chiens,
j'ai fait une table "race" mais en fait je ne comprend pas trop l'interet ??? pourquoi ne pas faire comme pour les caracteristique et mettre dans la table chien ?
taille, poid ou couleur des yeux, sont des indices pris une fois adult donc il ne changerons pas...
+------------------+ +-------------------+
| user | | sport |
+-------------+----+ +--------------+----+
| id_user | PK | +-------------------+ | id_sport | PK |
| username | | | chien | | id_chien | FK |
| password | | +--------------+----+ | id_user | |
| email | | | id_chien | PK | | sport | |
| avatar | |-------------------| id_user | FK | | signup_date | |
| signup_date | | | nom | | +-------------------+
+-------------+----+ | affixe | | |
| ,----------| race | | |
| | | sex | | +-------------------+
| | | livre | | | chien_has_sport | +-------------------+
| | | lof | | +--------------+----+ | photo |
| | | url | |-----------------------| id_chien | PK | +-------------------+
| | | commmentaire | | | id_sport | PK | | id_photo | PK |
| | | couleur | | +-------------------+ | id_chien | FK |
| | | poid | |----------------------------------------------------------| nom_photo | |
+------------------+ | | taille | | +-------------------+ +-------------------+
| vote |----' | naissance | | | race |
+-------------+----+ | signup_date | |-----------------------------+--------------+----+
| id_quest | PK | +--------------+----+ | id_race | PK |
| id_user | PK | | | id_chien | FK |
| id_chien | PK | | | nom-race | |
| note | | | +-------------------+
| signup_date | | |
+-------------+----+ |
| | +-------------------+
| | | resultat |
| | +-------------------+
| +-------------------+ | id_chien | PK |
| | chien_has_resultat| | id_user | FK |
| +--------------+----+ | discipline | |
| | id_chien | PK |--------------------| niveau | |
| | id_sport | PK | | place | |
| +-------------------+ | participant | |
| | total | |
| | club | |
| | ville | |
| | date | |
| +--------------+----+
+-------------------+
| questionnaire |
+--------------+----+
| id_quest | PK |
| libelle | |
+--------------+----+