-
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.
* [FIX] flyway를 재설정한다. (#5) * refactor : 대상 멤버를 저장하는 클래스명 명시적으로 변경 * refactor : service 호출이 아니라 repository에 직접적으로 의존하도록 변경 * refactor : 대상자 member임을 명시하도록 클래스명 변경 * refactor : 팀빌딩 대상자 멤버 대상자를 저장한다는걸 나타내기 위해 클래스명 변경 * chore : 팀빌딩 대상자 관련 service teambuilding 패키지로 변경 * fix : 모든 테이블을 flyway로 형상관리 하도록 변경 * [FIX] 배포 중 발생한 오류를 해결 (#11) * fix : redis docker-compose로부터 주입받도록 변경 * fix : info부터 console에 출력하도록 변경 * fix : 오타 변경
- Loading branch information
Showing
21 changed files
with
142 additions
and
131 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
21 changes: 0 additions & 21 deletions
21
.../src/main/java/com/blackcompany/eeos/target/application/service/CommandAttendService.java
This file was deleted.
Oops, something went wrong.
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
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
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
46 changes: 0 additions & 46 deletions
46
eeos/src/main/resources/db/migration/V03__add_teambuilding_table.sql
This file was deleted.
Oops, something went wrong.
104 changes: 104 additions & 0 deletions
104
eeos/src/main/resources/db/migration/V1.00.0.0__init_tables.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,104 @@ | ||
CREATE TABLE `member` ( | ||
`member_id` bigint NOT NULL AUTO_INCREMENT, | ||
`created_date` datetime NOT NULL, | ||
`is_deleted` tinyint(1) NOT NULL, | ||
`updated_date` datetime NOT NULL, | ||
`member_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, | ||
`member_oath_server_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, | ||
`member_active_status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, | ||
PRIMARY KEY (`member_id`), | ||
KEY `idx_member_active_status` (`member_active_status`), | ||
KEY `idx_member_name` (`member_name`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
|
||
|
||
CREATE TABLE `oauth_member` ( | ||
`oauth_member_id` bigint NOT NULL AUTO_INCREMENT, | ||
`created_date` datetime(6) NOT NULL, | ||
`is_deleted` tinyint(1) NOT NULL, | ||
`updated_date` datetime(6) NOT NULL, | ||
`oauth_member_member_id` bigint NOT NULL, | ||
`oauth_member_oauth_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, | ||
PRIMARY KEY (`oauth_member_id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
|
||
CREATE TABLE `program` ( | ||
`program_id` bigint NOT NULL AUTO_INCREMENT, | ||
`created_date` datetime NOT NULL, | ||
`is_deleted` tinyint(1) NOT NULL, | ||
`updated_date` datetime NOT NULL, | ||
`program_content` text COLLATE utf8mb4_unicode_ci NOT NULL, | ||
`program_date` timestamp NOT NULL, | ||
`program_title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, | ||
`program_category` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, | ||
`program_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, | ||
`program_writer` bigint NOT NULL, | ||
PRIMARY KEY (`program_id`), | ||
KEY `idx_program_date` (`program_date`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
|
||
CREATE TABLE `attend` ( | ||
`attend_id` bigint NOT NULL AUTO_INCREMENT, | ||
`created_date` datetime NOT NULL, | ||
`is_deleted` tinyint(1) NOT NULL, | ||
`updated_date` datetime NOT NULL, | ||
`attend_program_id` bigint NOT NULL, | ||
`attend_member_id` bigint NOT NULL, | ||
`attend_status` varchar(40) COLLATE utf8mb4_unicode_ci NOT NULL, | ||
PRIMARY KEY (`attend_id`), | ||
KEY `idx_program` (`attend_program_id`), | ||
KEY `idx_attend_status` (`attend_status`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
|
||
CREATE TABLE `team_building` ( | ||
`team_building_id` bigint NOT NULL AUTO_INCREMENT, | ||
`created_date` datetime(6) NOT NULL, | ||
`is_deleted` bit(1) NOT NULL, | ||
`updated_date` datetime(6) NOT NULL, | ||
`team_building_content` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, | ||
`team_building_max_team_size` int NOT NULL, | ||
`team_building_member_id` bigint NOT NULL, | ||
`team_building_status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, | ||
`team_building_title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, | ||
PRIMARY KEY (`team_building_id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
|
||
CREATE TABLE `team_building_target` ( | ||
`team_building_target_id` bigint NOT NULL AUTO_INCREMENT, | ||
`created_date` datetime(6) NOT NULL, | ||
`is_deleted` bit(1) NOT NULL, | ||
`updated_date` datetime(6) NOT NULL, | ||
`team_building_input_content` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL, | ||
`team_building_input_status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, | ||
`team_building_target_member_id` bigint NOT NULL, | ||
`team_building_target_team_building_id` bigint NOT NULL, | ||
PRIMARY KEY (`team_building_target_id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
|
||
CREATE TABLE `team_building_result` ( | ||
`team_building_result_id` bigint NOT NULL AUTO_INCREMENT, | ||
`created_date` datetime(6) NOT NULL, | ||
`is_deleted` bit(1) NOT NULL, | ||
`updated_date` datetime(6) NOT NULL, | ||
`team_building_result_member_ids` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, | ||
`team_building_result_status` bigint NOT NULL, | ||
PRIMARY KEY (`team_building_result_id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
|
||
CREATE TABLE `restrict_team_building` ( | ||
`restrict_team_building_id` bigint NOT NULL AUTO_INCREMENT, | ||
`created_date` datetime(6) NOT NULL, | ||
`is_deleted` bit(1) NOT NULL, | ||
`updated_date` datetime(6) NOT NULL, | ||
`restrict_team_building_total_active_count` bigint NOT NULL, | ||
`version` bigint DEFAULT NULL, | ||
PRIMARY KEY (`restrict_team_building_id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
File renamed without changes.
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
Oops, something went wrong.