-
Notifications
You must be signed in to change notification settings - Fork 2
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 #90 from zeze1004/chore/setting-dev-profile
[#89] 개발 배포스크립트 수정
- Loading branch information
Showing
5 changed files
with
68 additions
and
2 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
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
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,34 @@ | ||
-- card 테이블 생성 | ||
CREATE TABLE IF NOT EXISTS card ( | ||
card_id INT NOT NULL PRIMARY KEY, | ||
card_title VARCHAR(30) NOT NULL, | ||
budget BIGINT, | ||
deadline DATETIME, | ||
card_status VARCHAR(10) NOT NULL | ||
); | ||
|
||
-- cardboard 테이블 생성 | ||
CREATE TABLE IF NOT EXISTS cardboard ( | ||
cardboard_id INT NOT NULL PRIMARY KEY, | ||
user_id INT NOT NULL, | ||
card_ids JSON | ||
); | ||
|
||
-- todo 테이블 생성 | ||
CREATE TABLE IF NOT EXISTS todo ( | ||
todo_id INT NOT NULL PRIMARY KEY, | ||
todo_item VARCHAR(35) NOT NULL, | ||
todo_check_status VARCHAR(10) NOT NULL, | ||
card_id INT NOT NULL | ||
); | ||
|
||
-- user 테이블 생성 | ||
CREATE TABLE IF NOT EXISTS user ( | ||
email VARCHAR(30) NOT NULL, | ||
password VARCHAR(100) NOT NULL, | ||
name VARCHAR(20) NOT NULL, | ||
nick_name VARCHAR(20), | ||
created_date DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, | ||
id INT NOT NULL PRIMARY KEY, | ||
partner_email VARCHAR(30) | ||
); |
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,27 @@ | ||
spring: | ||
config: | ||
activate: | ||
on-profile: dev | ||
datasource: | ||
url: jdbc:mysql://mysql:3306/wedding | ||
|
||
session: | ||
store-type: redis | ||
data: | ||
redis: | ||
host: redis | ||
port: 6379 | ||
timeout: 1000 | ||
lettuce: | ||
pool: | ||
max-active: 8 | ||
max-wait: -1 | ||
max-idle: 8 | ||
min-idle: 0 | ||
|
||
mybatis: | ||
mapper-locations: classpath:mapper/**/*.xml | ||
type-aliases-package: org.wedding.* | ||
configuration: | ||
map-underscore-to-camel-case: true | ||
type-handlers-package: org.wedding.adapter.out.persistence.mybatis |
File renamed without changes.