-- Operator-editable configuration.
--
-- First tenant: the notification summary recipients, which were
-- NOTIFICATION_ADMIN_EMAILS in the environment. That list changes when office
-- staff change — a redeploy is the wrong unit of work for "Ana left, add
-- Beto" — so it belongs in the database with a UI, not in a stack env var.
--
-- Credentials stay in env. See the model doc in schema.prisma for where the
-- line is drawn.

-- CreateTable
CREATE TABLE `app_settings` (
    `key` VARCHAR(191) NOT NULL,
    `value` TEXT NOT NULL,
    `updatedAt` DATETIME(3) NOT NULL,
    `updatedById` VARCHAR(191) NULL,

    PRIMARY KEY (`key`)
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
