Initial commit: Ebook Translation System with Docker setup
This commit is contained in:
21
init-scripts/01-init.sql
Normal file
21
init-scripts/01-init.sql
Normal file
@@ -0,0 +1,21 @@
|
||||
-- ========================================
|
||||
-- PostgreSQL Initialization Script
|
||||
-- Ebook Translation System
|
||||
-- ========================================
|
||||
-- Tento skript sa automaticky spustí pri prvom štarte PostgreSQL kontajnera
|
||||
-- ========================================
|
||||
|
||||
-- Nastavenie timezone
|
||||
SET timezone = 'Europe/Bratislava';
|
||||
|
||||
-- Vytvorenie extensions (ak budú potrebné v budúcnosti)
|
||||
-- CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
|
||||
-- CREATE EXTENSION IF NOT EXISTS "pg_trgm";
|
||||
|
||||
-- Info výpis
|
||||
DO $$
|
||||
BEGIN
|
||||
RAISE NOTICE 'Database initialized successfully!';
|
||||
RAISE NOTICE 'Timezone: Europe/Bratislava';
|
||||
RAISE NOTICE 'Ready for application connection...';
|
||||
END $$;
|
||||
Reference in New Issue
Block a user