<?php
declare(strict_types=1);

return [
    'up' => "ALTER TABLE `facility_zone_schedules`
        ADD COLUMN `plan_month` VARCHAR(7) NULL COMMENT 'YYYY-MM format, the month this plan belongs to' AFTER `grid_id`,
        ADD INDEX `idx_fzs_plan_month` (`plan_month`)",
    'down' => "ALTER TABLE `facility_zone_schedules`
        DROP INDEX `idx_fzs_plan_month`,
        DROP COLUMN `plan_month`",
];
