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
15 lines
402 B
SQL
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';
|