Skip to content

Commit

Permalink
[#82]: refactor: image 테이블 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
102092 committed Jun 22, 2020
1 parent 5c4a37c commit b75a900
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions BE/src/main/resources/db/migration/V1.0.0__schema_init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ DROP TABLE IF EXISTS comment;
DROP TABLE IF EXISTS issue_label;
DROP TABLE IF EXISTS milestone;
DROP TABLE IF EXISTS issue_milestone;
DROP TABLE IF EXISTS image;

CREATE TABLE account
(
Expand Down Expand Up @@ -83,10 +82,3 @@ CREATE TABLE issue_milestone
CONSTRAINT issue_milestone_has_issue_id FOREIGN KEY (issue_id) REFERENCES issue (id),
CONSTRAINT issue_milestone_has_milestone_id FOREIGN KEY (milestone_id) REFERENCES milestone (id)
);

CREATE TABLE image
(
id BIGINT AUTO_INCREMENT,
url VARCHAR(500) UNIQUE NOT NULL,
PRIMARY KEY (id)
);

0 comments on commit b75a900

Please sign in to comment.