Skip to content

Commit

Permalink
schema: Drop column schedule_member.membership_hash
Browse files Browse the repository at this point in the history
It's not needed by Web anymore.
  • Loading branch information
nilmerg authored and julianbrost committed Nov 29, 2023
1 parent 11d2d60 commit b54cec5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion schema/pgsql/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ CREATE TABLE schedule_member (
timeperiod_id bigint NOT NULL REFERENCES timeperiod(id),
contact_id bigint REFERENCES contact(id),
contactgroup_id bigint REFERENCES contactgroup(id),
membership_hash bytea DEFAULT NULL,

-- There is no PRIMARY KEY in that table as either contact_id or contactgroup_id should be allowed to be NULL.
-- Instead, there are two UNIQUE constraints that prevent duplicate entries. Multiple NULLs are not considered to
Expand Down
1 change: 1 addition & 0 deletions schema/pgsql/upgrades/019.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE schedule_member DROP membership_hash;

0 comments on commit b54cec5

Please sign in to comment.