xpeditis2.0/infra/postgres/init.sql
David-Henri ARNAUD e863399bb2
Some checks failed
CI / Lint & Format Check (push) Failing after 1m11s
CI / Test Backend (push) Failing after 1m32s
CI / Build Backend (push) Has been skipped
Security Audit / npm audit (push) Failing after 5s
Security Audit / Dependency Review (push) Has been skipped
CI / Test Frontend (push) Failing after 29s
CI / Build Frontend (push) Has been skipped
first commit
2025-10-07 18:39:32 +02:00

15 lines
402 B
SQL

-- Initialize Xpeditis database
-- Create extensions
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
CREATE EXTENSION IF NOT EXISTS "pg_trgm"; -- For fuzzy search
-- Create schemas
CREATE SCHEMA IF NOT EXISTS public;
-- Grant permissions
GRANT ALL ON SCHEMA public TO xpeditis;
-- Initial comment
COMMENT ON DATABASE xpeditis_dev IS 'Xpeditis Maritime Freight Booking Platform - Development Database';