- Add comprehensive health check system with multiple endpoints - Add Prometheus metrics endpoint - Add production logging configurations (5 strategies) - Add complete deployment documentation suite: * QUICKSTART.md - 30-minute deployment guide * DEPLOYMENT_CHECKLIST.md - Printable verification checklist * DEPLOYMENT_WORKFLOW.md - Complete deployment lifecycle * PRODUCTION_DEPLOYMENT.md - Comprehensive technical reference * production-logging.md - Logging configuration guide * ANSIBLE_DEPLOYMENT.md - Infrastructure as Code automation * README.md - Navigation hub * DEPLOYMENT_SUMMARY.md - Executive summary - Add deployment scripts and automation - Add DEPLOYMENT_PLAN.md - Concrete plan for immediate deployment - Update README with production-ready features All production infrastructure is now complete and ready for deployment.
34 lines
978 B
SQL
34 lines
978 B
SQL
-- PostgreSQL Extensions for Custom PHP Framework
|
|
-- Auto-loaded during database initialization
|
|
|
|
-- UUID Support
|
|
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
|
|
|
|
-- Performance Monitoring
|
|
CREATE EXTENSION IF NOT EXISTS "pg_stat_statements";
|
|
|
|
-- Full-Text Search (German + English)
|
|
CREATE EXTENSION IF NOT EXISTS "unaccent";
|
|
|
|
-- Fuzzy String Matching (for search features)
|
|
CREATE EXTENSION IF NOT EXISTS "pg_trgm";
|
|
|
|
-- Case-insensitive text type
|
|
CREATE EXTENSION IF NOT EXISTS "citext";
|
|
|
|
-- JSON Functions (additional to built-in JSONB)
|
|
-- Uncomment if needed:
|
|
-- CREATE EXTENSION IF NOT EXISTS "jsonb_plperl";
|
|
|
|
-- Cryptographic functions
|
|
CREATE EXTENSION IF NOT EXISTS "pgcrypto";
|
|
|
|
-- Framework-specific Schema
|
|
CREATE SCHEMA IF NOT EXISTS framework;
|
|
|
|
COMMENT ON SCHEMA framework IS 'Custom PHP Framework internal tables and functions';
|
|
|
|
-- Grant permissions
|
|
GRANT USAGE ON SCHEMA framework TO PUBLIC;
|
|
-- GRANT CREATE ON SCHEMA framework TO postgres; -- Will be set via environment
|