Separate device type (android/ios) from token type (fcm/apns)

애플 기기에서도 FCM을 사용하여 푸시알림을 구현할 수 있으므로
디바이스의 운영체제와 무관하게 토큰 타입을 지정하도록 변경합니다.
기존에 등록된 토큰은 운영체제 및 포맷에 따라 자동 변환합니다.
This commit is contained in:
Kijin Sung 2020-10-28 00:37:55 +09:00
parent 61f6456b6c
commit ed7add6d9c
6 changed files with 39 additions and 30 deletions

View file

@ -2,6 +2,7 @@
<column name="device_srl" type="number" notnull="notnull" primary_key="primary_key" />
<column name="member_srl" type="number" notnull="notnull" index="idx_member_srl" />
<column name="device_token" type="varchar" size="191" notnull="notnull" unique="unique_device_token" />
<column name="device_token_type" type="varchar" size="20" notnull="notnull" index="idx_device_token_type" />
<column name="device_key" type="char" size="64" notnull="notnull" />
<column name="device_type" type="varchar" size="20" notnull="notnull" index="idx_device_type" />
<column name="device_version" type="varchar" size="20" notnull="notnull" />