From 75975caff3da40a9189a96287ee80f9717eda517 Mon Sep 17 00:00:00 2001 From: ywcheong Date: Tue, 31 Mar 2026 20:34:06 +0900 Subject: [PATCH 1/2] =?UTF-8?q?chore:=20Hibernate=20Envers=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95=EC=97=90=EC=84=9C=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 9ce4060..99e67ab 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -11,10 +11,6 @@ spring: host: localhost port: 25 jpa: - properties: - org.hibernate.envers: - audit_table_suffix: _audit - audit_strategy: org.hibernate.envers.strategy.DefaultAuditStrategy open-in-view: false hibernate: ddl-auto: validate From 4acdfb49ad31a62791a2098701e415b742949ea2 Mon Sep 17 00:00:00 2001 From: ywcheong Date: Tue, 31 Mar 2026 20:42:31 +0900 Subject: [PATCH 2/2] =?UTF-8?q?docs:=20README.md=20=EC=9E=91=EC=84=B1=20?= =?UTF-8?q?=EB=B0=8F=20`26b.04.01`=20=EB=A6=B4=EB=A6=AC=EC=A6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 5 ++++- README.md | 17 +++++++++++++++++ deploy/secrets.env | 3 --- 3 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 README.md delete mode 100644 deploy/secrets.env diff --git a/.gitignore b/.gitignore index 50fcb16..029f2d9 100644 --- a/.gitignore +++ b/.gitignore @@ -40,4 +40,7 @@ out/ .kotlin ### OpenAPI ### -openapi.json \ No newline at end of file +openapi.json + +### secrets ### +**/*.env \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..3ee3bef --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# sofia-backend + +version: `26b.04.01` + +Sofia 2026 시스템의 백엔드 코드입니다. + +프로젝트를 구동시키기 위해서는 데이터베이스 연결을 위해 다음 환경변수가 필요합니다. + +```bash +SOFIA_DATASOURCE_URL= +SOFIA_DATASOURCE_PASSWORD= +SOFIA_DATASOURCE_USERNAME= +``` + +최초의 데이터베이스 구성을 위해서는 [init.sql](init.sql)을 사용하세요. 해당 SQL 스크립트는 `./gradlew check`를 실행할 경우 자동으로 프로젝트 엔티티 스펙에 따라 업데이트됩니다. 테스트 코드 중 `SchemaExportTest`가 해당 SQL을 생성하는 것이며, 프로젝트 초기라 복잡도가 높지 않아 Flyway 대신 해당 테스트로 초기화 SQL 생성을 구현했습니다. + +// todo: 아키텍처 다이어그램 \ No newline at end of file diff --git a/deploy/secrets.env b/deploy/secrets.env deleted file mode 100644 index 0c34dec..0000000 --- a/deploy/secrets.env +++ /dev/null @@ -1,3 +0,0 @@ -SOFIA_DATASOURCE_URL= -SOFIA_DATASOURCE_PASSWORD= -SOFIA_DATASOURCE_USERNAME=