File size: 584 Bytes
1a2b901
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- FinSight Database Initialization Script
-- This script is executed only on first container startup
-- It ensures the database and user exist with proper permissions

-- The database and user are already created via environment variables
-- This script can be used for additional initialization if needed

-- Grant all privileges on the database (already done by default, but explicit)
GRANT ALL PRIVILEGES ON DATABASE finsight_db TO finsight_user;

-- Note: Django migrations will handle table creation
-- Tables are created automatically when running:
-- python manage.py migrate