refactor: Update import path for DictionnaryTable
This commit is contained in:
parent
702b9da341
commit
4e8ed64937
@ -298,37 +298,34 @@ export default function DictionnaryTable(props: DictionnaryTableProps) {
|
|||||||
</For>
|
</For>
|
||||||
</tbody>
|
</tbody>
|
||||||
<tfoot>
|
<tfoot>
|
||||||
|
<tr>
|
||||||
|
<td class="text-left">
|
||||||
|
<strong>{props.isTechnical ? "Table" : "Document"}</strong>
|
||||||
|
</td>
|
||||||
|
<td colSpan={3} class="text-left">
|
||||||
|
{props.isTechnical ? table.tableName : table.documentName}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
{props.isTechnical && (
|
{props.isTechnical && (
|
||||||
<>
|
<tr>
|
||||||
{table.primaryKeys && table.primaryKeys.length > 0 && (
|
{table.primaryKeys && table.primaryKeys.length > 0 && (
|
||||||
<tr>
|
<>
|
||||||
<td class="text-left">
|
<td class="text-left">
|
||||||
<strong>Clé primaire</strong>
|
<strong>Clé primaire</strong>
|
||||||
</td>
|
</td>
|
||||||
<td colSpan={3} class="text-left">
|
<td class="text-left">({table.primaryKeys.join(", ")})</td>
|
||||||
({table.primaryKeys.join(", ")})
|
</>
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
)}
|
)}
|
||||||
{table.foreignKeys && table.foreignKeys.length > 0 && (
|
{table.foreignKeys && table.foreignKeys.length > 0 && (
|
||||||
<tr>
|
<>
|
||||||
<td class="text-left">
|
<td class="text-left">
|
||||||
<strong>Clé(s) étrangère(s)</strong>
|
<strong>Clé(s) étrangère(s)</strong>
|
||||||
</td>
|
</td>
|
||||||
<td colSpan={3} class="text-left">
|
<td class="text-left">{table.foreignKeys.join(", ")}</td>
|
||||||
{table.foreignKeys.join(", ")}
|
</>
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
)}
|
)}
|
||||||
</>
|
</tr>
|
||||||
)}
|
)}
|
||||||
<tr>
|
|
||||||
<td colSpan={4} class="text-left font-bold">
|
|
||||||
{props.isTechnical
|
|
||||||
? `Table : ${table.tableName}`
|
|
||||||
: `Document : ${table.documentName}`}
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tfoot>
|
</tfoot>
|
||||||
</table>
|
</table>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@ -4,7 +4,7 @@ description: Apprenez à créer le MPD dans Merise, la dernière étape pour con
|
|||||||
tags: [Backend, Merise, BDD, MCD, MLD, MPD, SQL]
|
tags: [Backend, Merise, BDD, MCD, MLD, MPD, SQL]
|
||||||
---
|
---
|
||||||
|
|
||||||
import DictionnaryTable from "../mcd/DictionnaryTable";
|
import DictionnaryTable from "../dictionnaire-de-donnees/DictionnaryTable";
|
||||||
import tabs from "./tabs";
|
import tabs from "./tabs";
|
||||||
|
|
||||||
Prêt·e pour la dernière étape de la méthodologie Merise ? 🎉
|
Prêt·e pour la dernière étape de la méthodologie Merise ? 🎉
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user