-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #251 from read-a-perfume/task/RDPF-193
[RDPF-193] 향수-즐겨찾기 script 추가
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project version="4"> | ||
<component name="PersistenceUnitSettings"> | ||
<persistence-units> | ||
<persistence-unit moduleName="perfume-backend.perfume-api.main" name="Default"> | ||
<packages> | ||
<package value="io.perfume.api" /> | ||
</packages> | ||
</persistence-unit> | ||
</persistence-units> | ||
</component> | ||
</project> |
9 changes: 9 additions & 0 deletions
9
perfume-api/src/main/resources/db/migration/v1.0.6__perfume_favorite.sql
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
create table perfume_favorite | ||
( | ||
user_id bigint not null, | ||
perfume_id bigint notnull, | ||
created_at datetime not null, | ||
updated_at datetime not null, | ||
deleted_at datetime null, | ||
constraint pk_perfume_favorite primary key (user_id, perfume_id) | ||
); |