ORDERITEMGIFT

This table stores the relationship between an order item and a gift registry.

Column Descriptions:

NameTypeDescription
ORDERITEMS_IDBIGINT NOT NULLThe order item ID.
EXTERNAL_IDVARCHAR (64) NOT NULLThe external gift registry ID.
GIFTMESSAGEVARCHAR (4000)A message to accompany the gift (order item), from the gift giver to the gift registrant.
SHIPTORGSTRNTINTEGERSpecifies where gifts should be delivered. A value of 1 indicates that gifts should be shipped directly to the gift registrant, using the address provided during gift registry profile creation.
OPTCOUNTERSMALLINT NOT NULL DEFAULT 0The optimistic concurrency control counter for the table. Every time there is an update to the table, the counter is incremented.

Indexes:

NameColumn NamesType
<SYSTEM-GENERATED>ORDERITEMS_IDPrimary Key