--liquibase formatted sql -- PANELS · panels_product.core (Postgres) · Fase 4d -- -- Zona horaria configurable por tenant. Reemplaza el PAYROLL_TZ hardcodeado -- de api/payroll.ts ("America/Cancun"). Se separa de core.payroll_settings -- a propósito: la zona horaria la usan también document_validity.ts y -- cualquier validación de fecha del sistema, no solo nómina. --changeset panel:core-002a-tenant-settings endDelimiter:; splitStatements:true --preconditions onFail:MARK_RAN --precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM information_schema.tables WHERE table_schema='core' AND table_name='tenant_settings' CREATE TABLE core.tenant_settings ( tenant_id INTEGER PRIMARY KEY, timezone TEXT NOT NULL DEFAULT 'America/Mexico_City', created_at TIMESTAMPTZ NOT NULL DEFAULT now(), updated_at TIMESTAMPTZ NOT NULL DEFAULT now() );