Skip to content

Commit 305c348

Browse files
authored
Merge pull request #153 from YAPP-Github/refactor/PRODUCT-235
[Refactor] 아티클(가게에 담긴 이야기) 제거
2 parents 1220cb8 + cff3ca5 commit 305c348

File tree

19 files changed

+2
-370
lines changed

19 files changed

+2
-370
lines changed

src/main/java/eatda/controller/article/ArticleController.java

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/main/java/eatda/controller/article/ArticleResponse.java

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/main/java/eatda/controller/article/ArticlesResponse.java

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/main/java/eatda/domain/article/Article.java

Lines changed: 0 additions & 46 deletions
This file was deleted.

src/main/java/eatda/domain/story/Story.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public class Story extends AuditingEntity {
5454
@Column(name = "store_category", nullable = false)
5555
private StoreCategory storeCategory;
5656

57-
@Column(name = "description", nullable = false)
57+
@Column(name = "description")
5858
private String description;
5959

6060
@NotNull

src/main/java/eatda/repository/article/ArticleRepository.java

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/main/java/eatda/service/article/ArticleService.java

Lines changed: 0 additions & 33 deletions
This file was deleted.

src/main/resources/db/migration/V1__init.sql

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,3 @@ CREATE TABLE `cheer`
3939
FOREIGN KEY (`member_id`) REFERENCES `member` (`id`) ON DELETE CASCADE,
4040
FOREIGN KEY (`store_id`) REFERENCES `store` (`id`) ON DELETE CASCADE
4141
);
42-
43-
CREATE TABLE `article`
44-
(
45-
`id` BIGINT NOT NULL AUTO_INCREMENT,
46-
`title` VARCHAR(255) NOT NULL,
47-
`subtitle` VARCHAR(255) NOT NULL,
48-
`article_url` VARCHAR(511) NOT NULL,
49-
`image_key` VARCHAR(511) NOT NULL,
50-
`created_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
51-
PRIMARY KEY (`id`)
52-
);

src/main/resources/db/migration/V3__add_story_table.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CREATE TABLE `story`
77
`store_road_address` VARCHAR(255) NOT NULL,
88
`store_lot_number_address` VARCHAR(255) NOT NULL,
99
`store_category` VARCHAR(50) NOT NULL,
10-
`description` TEXT NOT NULL,
10+
`description` TEXT NULL,
1111
`image_key` VARCHAR(511) NOT NULL,
1212
`created_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
1313
PRIMARY KEY (`id`)

src/main/resources/db/migration/V5__story_description_available_null.sql

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)