Skip to content

Commit

Permalink
Add mailing_list_url column to PSQL schema
Browse files Browse the repository at this point in the history
  • Loading branch information
GregSutcliffe committed May 2, 2016
1 parent 5d7e090 commit 0ea7b6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions db/data_model_pg.sql
Expand Up @@ -45,6 +45,7 @@ CREATE INDEX response ON messages (is_response_of);
CREATE TABLE messages_people (
type_of_recipient VARCHAR(25) NOT NULL DEFAULT 'From'
CHECK (type_of_recipient IN ('From', 'To', 'Cc')),
mailing_list_url VARCHAR(255) NOT NULL,
message_id VARCHAR(255) NOT NULL,
email_address VARCHAR(255) NOT NULL,
PRIMARY KEY(type_of_recipient, message_id, email_address)
Expand Down

0 comments on commit 0ea7b6b

Please sign in to comment.