Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(#59) : 약 복용률 계산하는 메서드 추가, #61

Merged
merged 6 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions src/main/java/com/remind/core/domain/statistic/Statistic.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package com.remind.core.domain.statistic;

import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import lombok.Getter;

@Entity
@Getter
public class Statistic {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Long id;


}
2 changes: 1 addition & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ spring:

jpa:
hibernate:
ddl-auto: update
ddl-auto: create
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이거 create말고 기존 update 계속 유지해야 할 것 같아

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

다른 commit에서 update로 다시 수정했구나 확인 완료!

properties:
hibernate:
dialect: org.hibernate.dialect.MySQLDialect
Expand Down