Skip to content

Commit

Permalink
chore: 알람 데이터의 AlarmType에 CHAT -> TRANSACTION 수정
Browse files Browse the repository at this point in the history
- CHAT 알람 타입은 더 이상 사용하지 않음
  • Loading branch information
JadeKim042386 committed Jul 1, 2024
1 parent 8c866b8 commit ee07d2f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions database/mariadb/initdb.d/insert_data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -144,14 +144,14 @@ values (5, 1, 2, now()),
(20, 1, 2, now());

insert into alarms(member_id, alarm_type, alarm_args, message, created_at, read_at, deleted_at)
values (1, 'CHAT', json_object('fromMemberId', 2, 'targetId', 1), '거래 완료되었습니다.', now(), null, null),
(1, 'CHAT', json_object('fromMemberId', 1, 'targetId', 2), '알람 테스트', now(), null, null),
values (1, 'TRANSACTION', json_object('fromMemberId', 2, 'targetId', 1), '거래 완료되었습니다.', now(), null, null),
(1, 'TRANSACTION', json_object('fromMemberId', 1, 'targetId', 2), '알람 테스트', now(), null, null),
(1, 'TRANSACTION', json_object('fromMemberId', 3, 'targetId', 1), 'user123님이 예약중으로 변경하였습니다.', now(), null, null),
(1, 'TRANSACTION', json_object('fromMemberId', 3, 'targetId', 1), 'user123님이 판매중으로 변경하였습니다.', now(), null, null),
(1, 'TRANSACTION', json_object('fromMemberId', 3, 'targetId', 1), 'user123님이 예약중으로 변경하였습니다.', now(), null, null),
(1, 'TRANSACTION', json_object('fromMemberId', 3, 'targetId', 1), 'user123님이 판매중으로 변경하였습니다.', now(), null, null),
(1, 'CHAT', json_object('fromMemberId', 2, 'targetId', 5), '거래 완료되었습니다.', now(), now(), null),
(1, 'CHAT', json_object('fromMemberId', 1, 'targetId', 6), '알람 테스트', now(), now(), null),
(1, 'TRANSACTION', json_object('fromMemberId', 2, 'targetId', 5), '거래 완료되었습니다.', now(), now(), null),
(1, 'TRANSACTION', json_object('fromMemberId', 1, 'targetId', 6), '알람 테스트', now(), now(), null),
(1, 'TRANSACTION', json_object('fromMemberId', 3, 'targetId', 5), 'user123님이 예약중으로 변경하였습니다.', now(), now(),
null),
(1, 'TRANSACTION', json_object('fromMemberId', 3, 'targetId', 5), 'user123님이 판매중으로 변경하였습니다.', now(), now(),
Expand Down

0 comments on commit ee07d2f

Please sign in to comment.