diff --git a/db/0026-add-ignore-votes-alerts.sql b/db/0026-add-ignore-votes-alerts.sql new file mode 100644 index 0000000000..2425dd136f --- /dev/null +++ b/db/0026-add-ignore-votes-alerts.sql @@ -0,0 +1 @@ +ALTER TABLE `alerts` ADD `ignore_speaker_votes` tinyint(1) NOT NULL default '0'; diff --git a/db/schema.sql b/db/schema.sql index ef43d99edb..c976243153 100644 --- a/db/schema.sql +++ b/db/schema.sql @@ -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`),