mohamedkh001
Deploy AEFRS complete system with models and services
ea93121
raw
history blame contribute delete
357 Bytes
CREATE TABLE IF NOT EXISTS identities (
identity_id TEXT PRIMARY KEY,
metadata JSONB NOT NULL DEFAULT '{}'::jsonb,
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
);
CREATE TABLE IF NOT EXISTS audit_log (
id BIGSERIAL PRIMARY KEY,
event_type TEXT NOT NULL,
payload JSONB NOT NULL,
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
);