template-saas/apps/database/ddl/00-extensions.sql
rckrdmrd 26f0e52ca7 feat: Initial commit - template-saas
Template base para proyectos SaaS multi-tenant.

Estructura inicial:
- apps/backend (NestJS API)
- apps/frontend (React/Vite)
- apps/database (PostgreSQL DDL)
- docs/ (Documentación)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 04:41:24 -06:00

23 lines
656 B
SQL

-- ============================================
-- TEMPLATE-SAAS: Extensions
-- Version: 1.0.0
-- ============================================
-- UUID generation
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
CREATE EXTENSION IF NOT EXISTS "pgcrypto";
-- Full text search
CREATE EXTENSION IF NOT EXISTS "pg_trgm";
-- JSON operations
CREATE EXTENSION IF NOT EXISTS "btree_gin";
-- Timestamps and dates
CREATE EXTENSION IF NOT EXISTS "btree_gist";
-- Comment
COMMENT ON EXTENSION "uuid-ossp" IS 'UUID generation functions';
COMMENT ON EXTENSION "pgcrypto" IS 'Cryptographic functions';
COMMENT ON EXTENSION "pg_trgm" IS 'Trigram matching for text search';