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>
|
||||
</tbody>
|
||||
<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 && (
|
||||
<>
|
||||
<tr>
|
||||
{table.primaryKeys && table.primaryKeys.length > 0 && (
|
||||
<tr>
|
||||
<>
|
||||
<td class="text-left">
|
||||
<strong>Clé primaire</strong>
|
||||
</td>
|
||||
<td colSpan={3} class="text-left">
|
||||
({table.primaryKeys.join(", ")})
|
||||
</td>
|
||||
</tr>
|
||||
<td class="text-left">({table.primaryKeys.join(", ")})</td>
|
||||
</>
|
||||
)}
|
||||
{table.foreignKeys && table.foreignKeys.length > 0 && (
|
||||
<tr>
|
||||
<>
|
||||
<td class="text-left">
|
||||
<strong>Clé(s) étrangère(s)</strong>
|
||||
</td>
|
||||
<td colSpan={3} class="text-left">
|
||||
{table.foreignKeys.join(", ")}
|
||||
</td>
|
||||
</tr>
|
||||
<td class="text-left">{table.foreignKeys.join(", ")}</td>
|
||||
</>
|
||||
)}
|
||||
</>
|
||||
</tr>
|
||||
)}
|
||||
<tr>
|
||||
<td colSpan={4} class="text-left font-bold">
|
||||
{props.isTechnical
|
||||
? `Table : ${table.tableName}`
|
||||
: `Document : ${table.documentName}`}
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</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]
|
||||
---
|
||||
|
||||
import DictionnaryTable from "../mcd/DictionnaryTable";
|
||||
import DictionnaryTable from "../dictionnaire-de-donnees/DictionnaryTable";
|
||||
import tabs from "./tabs";
|
||||
|
||||
Prêt·e pour la dernière étape de la méthodologie Merise ? 🎉
|
||||
|
||||
Loading…
Reference in New Issue
Block a user