From b68d479f5b49d66a3cbcce7dd553440cadcb30e8 Mon Sep 17 00:00:00 2001 From: Jochen Klar Date: Fri, 31 Mar 2023 10:38:42 +0200 Subject: [PATCH] Update overview --- README.md | 8 +++++--- overview.svg | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0fdca99..d46bf39 100644 --- a/README.md +++ b/README.md @@ -215,7 +215,7 @@ pytest --cov=isimip_publisher Database schema --------------- -The database schema is automatically created when `insert_datasets` or `init` is used the first time. The tool creates 3 main tables: +The database schema is automatically created when `insert_datasets` or `init` is used the first time. The tool creates 3 main tables, one for the `datasets`, one for the `files` (in each dataset), and one for the `resources`, for which DOI are created.: ``` Table "public.datasets" @@ -236,8 +236,9 @@ The database schema is automatically created when `insert_datasets` or `init` is updated | timestamp without time zone | | | published | timestamp without time zone | | | archived | timestamp without time zone | | | +``` - +``` Table "public.files" Column | Type | Collation | Nullable | Default ---------------+-----------------------------+-----------+----------+--------- @@ -255,8 +256,9 @@ The database schema is automatically created when `insert_datasets` or `init` is identifiers | text[] | | not null | created | timestamp without time zone | | | updated | timestamp without time zone | | | +``` - +``` Table "public.resources" Column | Type | Collation | Nullable | Default ----------+-----------------------------+-----------+----------+--------- diff --git a/overview.svg b/overview.svg index 5d863a9..a4dee4b 100644 --- a/overview.svg +++ b/overview.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file