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>
23 lines
656 B
SQL
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';
|