first commit

This commit is contained in:
bluebamus committed 2025-10-31 15:56:42 +09:00
1 parent 78da3838f0
commit 09c86adf7b
486 files changed
+47300

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
-- Initialize o2sound_v2 database
-- This script runs automatically when the PostgreSQL container starts for the first time
-- The database 'o2sound_v2' is already created by POSTGRES_DB environment variable
-- The user 'postgres' is already created by POSTGRES_USER environment variable
-- Set default configuration for the database
ALTER DATABASE o2sound_v2 SET timezone TO 'Asia/Seoul';
-- Grant all privileges to postgres user (already has them, but explicit)
GRANT ALL PRIVILEGES ON DATABASE o2sound_v2 TO postgres;
-- Connect to the o2sound_v2 database
\c o2sound_v2
-- Add any additional initialization here
-- For example, create extensions if needed:
-- CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
-- CREATE EXTENSION IF NOT EXISTS "pg_trgm";
-- Log completion
SELECT 'Database o2sound_v2 initialized successfully' AS status;