File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
resources/gaebaljip-develop-environment/mariadb-init
src/main/java/com/gaebaljip/exceed/application/domain/meal Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 45
45
46
46
## 시스템 아키텍처
47
47
48
- <img width =" 1000 " alt =" Image " src =" https://github.com/user-attachments/assets/d013fc64-3b3a-4354-83a9-50a4117ae629 " >
48
+ <img width =" 1000 " alt =" Image " src =" https://github.com/user-attachments/assets/fef832c9-b8d8-4d19-bbdf-145dbb7386d1 " / >
49
49
50
50
## ERD
51
51
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ CREATE TABLE `MEAL_FOOD_TB`
73
73
` MEAL_FK` bigint (20 ) DEFAULT NULL ,
74
74
` MEAL_FOOD_MULTIPLE` double DEFAULT NULL ,
75
75
` MEAL_FOOD_G` int DEFAULT NULL ,
76
- ` MEAL_FOOD_UNIT_TYPE` varchar (255 ),
76
+ ` MEAL_FOOD_UNIT_TYPE` varchar (255 ) NOT NULL ,
77
77
PRIMARY KEY (` MEAL_FOOD_PK` ),
78
78
FOREIGN KEY (` FOOD_FK` ) REFERENCES ` FOOD_TB` (` FOOD_PK` ),
79
79
FOREIGN KEY (` MEAL_FK` )REFERENCES ` MEAL_TB` (` MEAL_PK` )
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public class Unit {
27
27
private Double multiple ;
28
28
29
29
@ Enumerated (EnumType .STRING )
30
- @ Column (name = ENTITY_PREFIX + "_UNIT_TYPE" )
30
+ @ Column (name = ENTITY_PREFIX + "_UNIT_TYPE" , nullable = false )
31
31
private UnitType unitType ;
32
32
33
33
public static Unit createUnit (Integer g , Double multiple ) {
You can’t perform that action at this time.
0 commit comments