-- Database initialization script for Docker -- This script sets up the initial database structure -- Enable extensions CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; -- Set timezone SET timezone = 'Europe/Stockholm'; -- Create indexes for better performance -- (These will be created by Sequelize, but we can optimize here) -- Grant necessary permissions GRANT ALL PRIVILEGES ON DATABASE drone_detection TO postgres; -- Log successful initialization SELECT 'Database initialized successfully' as status;