Skip to content
Permalink
Browse files

docs: experimental documentation system schema

  • Loading branch information...
erichanson committed May 15, 2019
1 parent e4a3392 commit 25ec4c0bde9a433e1d0bc67d5167a51d290b27ba
Showing with 17 additions and 0 deletions.
  1. +17 −0 src/pg-extension/documentation/000-datamodel.sql
@@ -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,
@@ -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.
You can’t perform that action at this time.