Skip to content

Commit

Permalink
Ensure we remove the annotation sub type enum when we recreate it
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-betts committed Jun 15, 2023
1 parent b694069 commit 9eae5f9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DROP MATERIALIZED VIEW IF EXISTS report.annotation_type_group_counts CASCADE;
DROP TYPE IF EXISTS report.annotation_sub_type CASCADE;

CREATE TYPE report.annotation_sub_type AS ENUM (
-- This is not a good name for a sub-type of an annotation, we should
Expand All @@ -8,6 +8,8 @@ CREATE TYPE report.annotation_sub_type AS ENUM (
'reply', 'highlight', 'page_note'
);

DROP MATERIALIZED VIEW IF EXISTS report.annotation_type_group_counts CASCADE;

-- There are various indicators of different sub-types of annotation, only
-- certain combinations should happen together. This table shows all
-- combinations and how we will interpret them.
Expand Down

0 comments on commit 9eae5f9

Please sign in to comment.