-- ColaFlow Database Initialization Script
-- This script runs automatically when PostgreSQL container starts

-- Enable required extensions
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
CREATE EXTENSION IF NOT EXISTS "pg_trgm";  -- For full-text search

-- Create initial database schema
-- Note: Actual schema will be created by EF Core migrations

-- Create test user for development
-- Password: Test123! (BCrypt hashed)
DO $$
BEGIN
    -- Add any initial seed data here if needed
    RAISE NOTICE 'Database initialized successfully';
END $$;
