Skip to content

Commit

Permalink
add ignore_speaker_votes flag to alerts table
Browse files Browse the repository at this point in the history
Used to allow people to suppress seeing votes in speaker alerts.
  • Loading branch information
struan committed Oct 30, 2024
1 parent 7f342f1 commit dfa7bab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions db/0026-add-ignore-votes-alerts.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE `alerts` ADD `ignore_speaker_votes` tinyint(1) NOT NULL default '0';
1 change: 1 addition & 0 deletions db/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ CREATE TABLE `alerts` (
`confirmed` tinyint(1) NOT NULL default '0',
`created` datetime NOT NULL default '0000-00-00 00:00:00',
`postcode` varchar(10) NOT NULL default '',
`ignore_speaker_votes` tinyint(1) NOT NULL default '0',
`lang` varchar(2) NOT NULL default 'en',
PRIMARY KEY (`alert_id`),
KEY `email` (`email`),
Expand Down

0 comments on commit dfa7bab

Please sign in to comment.