Skip to content

Commit

Permalink
feat: added "official" status to the DB schema (#821)
Browse files Browse the repository at this point in the history
  • Loading branch information
cka-y authored Nov 13, 2024
1 parent 1e22f75 commit 99cf3c7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions liquibase/changelog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@
<include file="changes/feat_565.sql" relativeToChangelogFile="true"/>
<include file="changes/feat_566.sql" relativeToChangelogFile="true"/>
<include file="changes/feat_780.sql" relativeToChangelogFile="true"/>
<include file="changes/feat_741.sql" relativeToChangelogFile="true"/>
</databaseChangeLog>
9 changes: 9 additions & 0 deletions liquibase/changes/feat_741.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
CREATE TABLE OfficialStatusHistory(
is_official BOOLEAN NOT NULL,
feed_id VARCHAR(255) NOT NULL,
reviewer_email VARCHAR(255) NOT NULL,
timestamp TIMESTAMP NOT NULL,
notes VARCHAR(255),
FOREIGN KEY (feed_id) REFERENCES Feed(id),
PRIMARY KEY (feed_id, timestamp)
);

0 comments on commit 99cf3c7

Please sign in to comment.