<?php
declare(strict_types=1);

return [
    'up' => "
        CREATE TABLE IF NOT EXISTS `governorates` (
            `id`        BIGINT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
            `code`      VARCHAR(2) NOT NULL,
            `name_ar`   VARCHAR(100) NOT NULL,
            `name_en`   VARCHAR(100) NOT NULL,
            `is_active` TINYINT(1) NOT NULL DEFAULT 1,
            UNIQUE KEY `uq_governorates_code` (`code`)
        ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
    ",
    'down' => "DROP TABLE IF EXISTS `governorates`",
];