Skip to content

Commit

Permalink
Added DDL for capturing parents of childrens
Browse files Browse the repository at this point in the history
  • Loading branch information
Artraxon committed Apr 30, 2020
1 parent d375d6c commit 0afab11
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/main/resources/DDL.sql
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,15 @@ create table if not exists unex_score
)
;

create table comments_hierarchy
(
child_id text not null
constraint comments_hierarchy_pk
primary key
constraint comment_child
references comments,
parent_id text not null
constraint parent_comment
references comments
);

0 comments on commit 0afab11

Please sign in to comment.