-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update prisma * fix TS errors * Fix API call for dossiers
- Loading branch information
1 parent
eea450a
commit a69c4df
Showing
15 changed files
with
536 additions
and
160 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
/// L'ensemble des communes de France et leur circonscription associée | ||
model Commune { | ||
/// Identifiant unique. | ||
id Int @id @default(autoincrement()) | ||
/// Hachage de l'objet | ||
hash String @unique | ||
/// Nom de la commune | ||
libelle String | ||
/// Numéro de la région où se trouve la commune | ||
codeRegion Int | ||
/// Nom de la région où se trouve la commune | ||
libelleRegion String | ||
/// Numéro du département où se trouve la commune | ||
codeDepartement Int | ||
/// Nom du département où se trouve la commune | ||
libelleDepartement String | ||
/// Code INSEE | ||
codeInsee String? | ||
/// Code postal | ||
codePostal String | ||
/// Vrai si la commune est sur plusieurs circonscriptions | ||
circoPartielle Boolean @default(false) | ||
/// Numéro de la cirsconscription | ||
numCirco Int? | ||
/// Identifiant unique de la cirsconscription liée à la commune | ||
circonscriptionUid String? | ||
circonscription Organe? @relation(fields: [circonscriptionUid], references: [uid]) | ||
/// Identifiant unique. | ||
id Int @id @default(autoincrement()) | ||
/// Hachage de l'objet | ||
hash String @unique | ||
/// Nom de la commune | ||
libelle String | ||
/// Numéro de la région où se trouve la commune | ||
codeRegion Int | ||
/// Nom de la région où se trouve la commune | ||
libelleRegion String | ||
/// Numéro du département où se trouve la commune | ||
codeDepartement Int | ||
/// Nom du département où se trouve la commune | ||
libelleDepartement String | ||
/// Code INSEE | ||
codeInsee String? | ||
/// Code postal | ||
codePostal String | ||
/// Vrai si la commune est sur plusieurs circonscriptions | ||
circoPartielle Boolean @default(false) | ||
/// Numéro de la cirsconscription | ||
numCirco Int? | ||
/// Identifiant unique de la cirsconscription liée à la commune | ||
circonscriptionUid String? | ||
circonscription Organe? @relation(fields: [circonscriptionUid], references: [uid]) | ||
@@index([circonscriptionUid]) | ||
@@index([circonscriptionUid]) | ||
} |
Oops, something went wrong.