Skip to content

Commit

Permalink
docs: experimental documentation system schema
Browse files Browse the repository at this point in the history
  • Loading branch information
erichanson committed May 15, 2019
1 parent e4a3392 commit 25ec4c0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/pg-extension/documentation/000-datamodel.sql
Expand Up @@ -17,6 +17,7 @@ set search_path=documentation;
-- functions, etc.
------------------------------------------------------------------------------

/*
create table "schema" (
id uuid not null default public.uuid_generate_v4() primary key,
schema_id meta.schema_id not null,
Expand All @@ -28,3 +29,19 @@ create table "table" (
relation_id meta.relation_id not null,
content text not null default ''
);
*/

create table bundle_doc (
id uuid not null default public.uuid_generate_v4() primary key,
bundle_id uuid references bundle.bundle(id),
title text not null default '',
content text not null default ''
);

create table row_doc (
id uuid not null default public.uuid_generate_v4() primary key,
row_id meta.row_id not null,
title text not null default '',
content text not null default ''
);

0 comments on commit 25ec4c0

Please sign in to comment.