diff --git a/lapis2-docs/src/components/FieldsTable.astro b/lapis2-docs/src/components/FieldsTable.astro index 18b33ba6..2ded6281 100644 --- a/lapis2-docs/src/components/FieldsTable.astro +++ b/lapis2-docs/src/components/FieldsTable.astro @@ -14,15 +14,16 @@ const config = getConfig(); { - config.schema.metadata.map((m) => ( + config.schema.metadata.map((metadata) => ( - {m.name} + {metadata.name} - {m.type} - {m.name === config.schema.primaryKey && <> (primary key)} + {metadata.type} + {metadata.name === config.schema.primaryKey && <> (primary key)} - TODO + {(metadata.type === 'insertion' || metadata.type === 'aaInsertion') && + 'An artificial column that contains insertions'} ))