FactuGES_ERP/modules/identity/sql/001-system-owner.sql

9 lines
478 B
SQL

-- Referencia histórica: la migración versionada inicial ya incluye esta tabla.
-- Consultar docs/desarrollo-y-migraciones-bd.md antes de actuar sobre bases existentes.
-- Aplicar expresamente en el entorno de destino antes de arrancar con DB_SYNC_MODE=none.
-- No identifica ni promueve cuentas existentes. El bootstrap vacío reserva el singleton.
CREATE TABLE IF NOT EXISTS identity_system_owner (
id INT NOT NULL PRIMARY KEY,
account_id CHAR(36) NULL
) ENGINE=InnoDB;