template-saas-database-v2/ddl/schemas/storage
Adrian Flores Cortes c1c5892364 fix(ddl): Add storage triggers and fix whatsapp RLS pattern
- Add 06-triggers.sql with trg_files_updated_at and trg_usage_updated_at
  for storage.files and storage.usage tables
- Fix RLS policies in whatsapp schema to use current_setting with true
  parameter to avoid errors when app.current_tenant_id is not set

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 17:18:07 -06:00
..
tables Initial commit - Database de template-saas migrado desde monorepo 2026-01-16 08:07:11 -06:00
06-triggers.sql fix(ddl): Add storage triggers and fix whatsapp RLS pattern 2026-02-03 17:18:07 -06:00