Add database setup script for GPU service

- Created scripts/setup-database.sql to create aitbc_gpu database
- Database configured with aitbc_gpu user and privileges

This is Phase 4.3c: Setup separate database for GPU service
This commit is contained in:
aitbc
2026-04-30 11:23:30 +02:00
parent d838c77a5f
commit 1a9564568f

View File

@@ -0,0 +1,19 @@
-- Setup database for GPU service
-- Create database
CREATE DATABASE aitbc_gpu;
-- Create user
CREATE USER aitbc_gpu WITH PASSWORD 'password';
-- Grant privileges
GRANT ALL PRIVILEGES ON DATABASE aitbc_gpu TO aitbc_gpu;
-- Connect to the database
\c aitbc_gpu
-- Grant schema privileges
GRANT ALL ON SCHEMA public TO aitbc_gpu;
-- Exit
\q