-- Deploy mimas-talos:2019-07-25-answer-add-low_quality to mysql

BEGIN;
--
-- Add field low_quality to hera_vm_diary
--
ALTER TABLE `hera_vm_diary` ADD COLUMN `low_quality` integer DEFAULT 0 NOT NULL;
--
-- Add field low_quality_deal to hera_vm_diary
--
ALTER TABLE `hera_vm_diary` ADD COLUMN `low_quality_deal` bool DEFAULT 0 NOT NULL;
--
-- Add field low_quality to diary
--
ALTER TABLE `api_diary` ADD COLUMN `low_quality` integer DEFAULT 0 NOT NULL;
--
-- Add field low_quality_deal to diary
--
ALTER TABLE `api_diary` ADD COLUMN `low_quality_deal` bool DEFAULT 0 NOT NULL;
--
-- Add field low_quality to tractate
--
ALTER TABLE `api_tractate` ADD COLUMN `low_quality` integer DEFAULT 0 NOT NULL;
--
-- Add field low_quality_deal to tractate
--
ALTER TABLE `api_tractate` ADD COLUMN `low_quality_deal` bool DEFAULT 0 NOT NULL;
COMMIT;
