GRUSERAUTH

This table authenticates a user's access to view or edit a gift registry or wish list. A gift registrant or co-registrant can view and change gift registry or wish list information. A gift giver can view a gift registry or wish list.

Column Descriptions:

NameTypeDescription
GIFTREGISTRY_IDBIGINT NOT NULLThe gift registry or wish list with which this row is associated.
PASSWORDBINARY NOT NULLThe password for a user to access the associated gift registry or wish list, if password is required.
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.
ACCESSTYPEINTEGER NOT NULLThe type of user. The following types are supported:
  • 1: Registrant, or co-registrant (if applicable)
  • 2: Gift giver
STATUSINTEGER NOT NULL DEFAULT 1The access status of the user. Two options are supported:
  • 0: The user's access to the gift registry or wish list is revoked
  • 1: The user's access is active
PASSWORDCREATIONTIMESTAMP NOT NULL DEFAULT CURRENT TIMESTAMPThe creation time of the password.
SALTVARCHAR (254) NOT NULLThe salt used to cipher and decipher the password.

Indexes:

NameColumn NamesType
<SYSTEM-GENERATED>GIFTREGISTRY_ID+ACCESSTYPEPrimary Key

Constrained By Parent Tables:

ConstraintColumnsParent TableParent ColumnsType
GRU_CONSTRAINT1GIFTREGISTRY_IDGRGFTREGGIFTREGISTRY_IDCascade