From 67c6067083d491f7e239fe0d73a6ed16c637fb3b Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sat, 30 Jan 2021 14:43:39 +0100 Subject: KB66 Post: Add scope field. The scope field defines whether a post is a top-level post or a comment and is used to select posts for the main feed. Change-Id: I44363e3e67acbecff9844730a513ddb1d554afaf --- src/main/resources/db/changeLog-1.8.xml | 58 +++++++++++++++++++++++++++++++++ src/main/resources/db/changeLog.xml | 1 + 2 files changed, 59 insertions(+) create mode 100644 src/main/resources/db/changeLog-1.8.xml (limited to 'src/main/resources/db') diff --git a/src/main/resources/db/changeLog-1.8.xml b/src/main/resources/db/changeLog-1.8.xml new file mode 100644 index 0000000..2359001 --- /dev/null +++ b/src/main/resources/db/changeLog-1.8.xml @@ -0,0 +1,58 @@ + + + + + + CREATE TYPE benki.post_scope AS ENUM ('top_level', 'comment'); + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/resources/db/changeLog.xml b/src/main/resources/db/changeLog.xml index 7b4b700..88937a3 100644 --- a/src/main/resources/db/changeLog.xml +++ b/src/main/resources/db/changeLog.xml @@ -14,5 +14,6 @@ + -- cgit v1.2.3