-- Deploy mimas-talos:2019-04-17-favor-unread to mysql

BEGIN;

-- Add field unread to diaryfavor
ALTER TABLE `api_diaryfavor` ADD COLUMN `unread` bool DEFAULT 1 NOT NULL;

-- Add field unread to problemfavor
ALTER TABLE `api_problemfavor` ADD COLUMN `unread` bool DEFAULT 1 NOT NULL;

COMMIT;
