feat(db): PostgreSQL 스키마 및 RLS 정책 구현#32
Merged
Merged
Conversation
- Flyway V2에서 6개 업무 테이블과 제약조건 및 인덱스 추가 - 회사 컨텍스트 기반 PostgreSQL RLS 정책 적용 - 암호화 필드, JSON 배열 및 날짜 무결성 제약조건 정의 - Flyway migration과 스키마 구조, 제약조건, 인덱스 및 회사별 RLS 격리를 검증(~Tests.java) - H2 local/test 환경은 V1까지만 실행하도록 Flyway 설정 분리(resources/application.yaml)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
왜 필요한가요?
무엇이 바뀌나요?
company,user_account,worker,task,ticket,document테이블을 추가어떻게 검증했나요?
./gradlew clean test./gradlew build/health와 Swagger UI 확인보안·개인정보
company_id범위를 검사합니다.request_id로 추적됩니다.Proposed로 작성했습니다.API·DB·운영 영향
.env.example에 적었습니다.화면 또는 응답 예시
Successfully applied 2 migrations to schema "public", now at version v2 (execution time 00:00.146s)