Initial commit

This commit is contained in:
2025-08-16 19:43:44 +02:00
commit ea9a2627b4
64 changed files with 9232 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
-- 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)
-- Log successful initialization
INSERT INTO pg_stat_statements_info (dealloc) VALUES (0) ON CONFLICT DO NOTHING;
-- Grant necessary permissions
GRANT ALL PRIVILEGES ON DATABASE drone_detection TO postgres;