SVC_NOTIFY_DEVTOKENS

This table is used to store registration requests from mobile devices that are registering to receive push notifications.

Details

  • Schema: FUSION

  • Object owner: SVC

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

SVC_NOTIFY_DEVTOKENS_PK

DEVICE_TOKEN_ID

Columns

Name Datatype Length Precision Not-null Comments
DEVICE_TOKEN_ID NUMBER 18 Yes Auto-generated number and primary key for this table.
APPLICATION_NAME VARCHAR2 50 The app name with which device registers.
USER_AGENT VARCHAR2 256 The user agent information with which device registers.
DEVICE_TOKEN VARCHAR2 1000 Yes Device Token (Apple) or Device ID (Google) of the registered mobile device.
DEVICE_TOKEN_TYPE_CD VARCHAR2 30 Yes Lookup code that indicates type of device registered, such as Apple (APNS), Google (FCM).
PARTY_ID NUMBER 18 Yes Foreign key that references HZ_PARTIES (PARTY_ID), the Party ID of the mobile user who registered the device.
PARTY_NAME VARCHAR2 360 Yes The Party Name of the mobile user who registered the device.
USER_NAME VARCHAR2 100 Yes The User Name of the logged in mobile user who registered the device.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.
OBJECT_VERSION_NUMBER NUMBER 9 Yes Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.
DELETED_FLAG VARCHAR2 1 Yes Indicates whether the device token is logically deleted (Y or N).

Foreign Keys

Table Foreign Table Foreign Key Column
SVC_NOTIFY_DEVTOKENS hz_parties PARTY_ID

Indexes

Index Uniqueness Tablespace Columns
SVC_NOTIFY_DEVTOKENS_F1 Non Unique Default PARTY_ID
SVC_NOTIFY_DEVTOKENS_PK Unique Default DEVICE_TOKEN_ID
SVC_NOTIFY_DEVTOKENS_U1 Unique Default DEVICE_TOKEN, PARTY_ID