From 86e587a7f1d5bbeb28f9f7440aefa4a78ac74c9f Mon Sep 17 00:00:00 2001 From: nayonsoso Date: Mon, 11 Aug 2025 16:56:49 +0900 Subject: [PATCH 1/3] =?UTF-8?q?chore:=20not=20null=20alter=20=EC=8A=A4?= =?UTF-8?q?=ED=81=AC=EB=A6=BD=ED=8A=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../V28__alter_mentor_introduction_pass_tip_not_null.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/main/resources/db/migration/V28__alter_mentor_introduction_pass_tip_not_null.sql diff --git a/src/main/resources/db/migration/V28__alter_mentor_introduction_pass_tip_not_null.sql b/src/main/resources/db/migration/V28__alter_mentor_introduction_pass_tip_not_null.sql new file mode 100644 index 000000000..8acb72761 --- /dev/null +++ b/src/main/resources/db/migration/V28__alter_mentor_introduction_pass_tip_not_null.sql @@ -0,0 +1,5 @@ +ALTER TABLE mentor + MODIFY introduction VARCHAR(1000) NOT NULL; + +ALTER TABLE mentor + MODIFY pass_tip VARCHAR(1000) NOT NULL; From 4916af4ef263d598b9ddeae5aedce93bfcdf43ee Mon Sep 17 00:00:00 2001 From: nayonsoso Date: Mon, 11 Aug 2025 16:57:19 +0900 Subject: [PATCH 2/3] =?UTF-8?q?refactor:=20=EC=97=94=ED=8B=B0=ED=8B=B0?= =?UTF-8?q?=EC=97=90=20nullable=3Dfalse=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/example/solidconnection/mentor/domain/Mentor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/example/solidconnection/mentor/domain/Mentor.java b/src/main/java/com/example/solidconnection/mentor/domain/Mentor.java index 008917e89..c14475b7e 100644 --- a/src/main/java/com/example/solidconnection/mentor/domain/Mentor.java +++ b/src/main/java/com/example/solidconnection/mentor/domain/Mentor.java @@ -32,10 +32,10 @@ public class Mentor { @Column private boolean hasBadge = false; - @Column(length = 1000) + @Column(length = 1000, nullable = false) private String introduction; - @Column(length = 1000) + @Column(length = 1000, nullable = false) private String passTip; @Column From 5f7d2b4452c284c0fd5c1a57dd73bc3096ce759e Mon Sep 17 00:00:00 2001 From: nayonsoso Date: Wed, 13 Aug 2025 02:24:43 +0900 Subject: [PATCH 3/3] =?UTF-8?q?chore:=20flyway=20=EB=B2=84=EC=A0=84?= =?UTF-8?q?=EC=97=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...l.sql => V29__alter_mentor_introduction_pass_tip_not_null.sql} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/main/resources/db/migration/{V28__alter_mentor_introduction_pass_tip_not_null.sql => V29__alter_mentor_introduction_pass_tip_not_null.sql} (100%) diff --git a/src/main/resources/db/migration/V28__alter_mentor_introduction_pass_tip_not_null.sql b/src/main/resources/db/migration/V29__alter_mentor_introduction_pass_tip_not_null.sql similarity index 100% rename from src/main/resources/db/migration/V28__alter_mentor_introduction_pass_tip_not_null.sql rename to src/main/resources/db/migration/V29__alter_mentor_introduction_pass_tip_not_null.sql