feat : initial commit

This commit is contained in:
2025-06-20 05:42:24 +00:00
commit 409d7abdc6
245 changed files with 17069 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
-- HealthSync 데이터베이스 초기화 스크립트
-- User Service 데이터베이스
CREATE DATABASE healthsync_user;
-- Health Service 데이터베이스
CREATE DATABASE healthsync_health;
-- Intelligence Service 데이터베이스
CREATE DATABASE healthsync_intelligence;
-- Goal Service 데이터베이스
CREATE DATABASE healthsync_goal;
-- Motivator Service 데이터베이스
CREATE DATABASE healthsync_motivator;
-- 사용자 권한 설정
GRANT ALL PRIVILEGES ON DATABASE healthsync_user TO healthsync;
GRANT ALL PRIVILEGES ON DATABASE healthsync_health TO healthsync;
GRANT ALL PRIVILEGES ON DATABASE healthsync_intelligence TO healthsync;
GRANT ALL PRIVILEGES ON DATABASE healthsync_goal TO healthsync;
GRANT ALL PRIVILEGES ON DATABASE healthsync_motivator TO healthsync;