Skip to content

Commit

Permalink
[MOA-499] 사용하지 않는 sms 클래스 제거 (#113)
Browse files Browse the repository at this point in the history
* MOA-499: 사용하지 않는 sms 관련 클래스 제거

* MOA-499: flyway 파일 수정
  • Loading branch information
shin-mallang authored Mar 1, 2024
1 parent 18f5b44 commit 7ebeeeb
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 101 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package moa.sms;
package moa.client.sms;

import org.springframework.stereotype.Component;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import moa.client.sms.SmsClient;
import moa.client.sms.SmsMessageFactory;
import moa.member.domain.phone.Phone;
import moa.member.domain.phone.PhoneVerificationNumber;
import moa.member.domain.phone.PhoneVerificationNumberSender;
import moa.member.exception.MemberException;
import moa.sms.SmsMessageFactory;
import org.springframework.stereotype.Component;

@Slf4j
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import java.time.LocalDate;
import lombok.RequiredArgsConstructor;
import moa.client.sms.SmsMessageFactory;
import moa.client.wincube.WincubeClient;
import moa.funding.domain.Funding;
import moa.funding.domain.FundingFinishEvent;
Expand All @@ -18,7 +19,6 @@
import moa.order.domain.OrderRepository;
import moa.order.domain.OrderTransaction;
import moa.order.domain.OrderTransactionRepository;
import moa.sms.SmsMessageFactory;
import org.springframework.context.event.EventListener;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
Expand Down
59 changes: 0 additions & 59 deletions core/src/main/java/moa/sms/SmsHistory.java

This file was deleted.

6 changes: 0 additions & 6 deletions core/src/main/java/moa/sms/SmsHistoryRepository.java

This file was deleted.

11 changes: 0 additions & 11 deletions core/src/main/resources/db/migration/dev/V1__init_domain.sql
Original file line number Diff line number Diff line change
Expand Up @@ -287,14 +287,3 @@ create table report
constraint FK_report_member
foreign key (member_id) references member (id)
);

create table sms_history
(
id bigint auto_increment primary key,
status varchar(255) not null,
message varchar(255) not null,
phone_number varchar(255) not null,
error_message varchar(255),
created_date datetime(6) not null,
updated_date datetime(6) null
);
11 changes: 0 additions & 11 deletions core/src/main/resources/db/migration/local/V1__init_domain.sql
Original file line number Diff line number Diff line change
Expand Up @@ -287,14 +287,3 @@ create table if not exists report
constraint FK_report_member
foreign key (member_id) references member (id)
);

create table if not exists sms_history
(
id bigint auto_increment primary key,
status varchar(255) not null,
message varchar(255) not null,
phone_number varchar(255) not null,
error_message varchar(255),
created_date datetime(6) not null,
updated_date datetime(6) null
);
11 changes: 0 additions & 11 deletions core/src/main/resources/db/migration/prod/V1__init_domain.sql
Original file line number Diff line number Diff line change
Expand Up @@ -287,14 +287,3 @@ create table report
constraint FK_report_member
foreign key (member_id) references member (id)
);

create table sms_history
(
id bigint auto_increment primary key,
status varchar(255) not null,
message varchar(255) not null,
phone_number varchar(255) not null,
error_message varchar(255),
created_date datetime(6) not null,
updated_date datetime(6) null
);

0 comments on commit 7ebeeeb

Please sign in to comment.