Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
Tracks password reset requests initiated via the forgotten password flow. When a user requests a reset a token is generated, BASE64-encoded, stored here, and emailed to them. On redemption the token is matched against this table and “Sent” is checked to confirm the email was dispatched before allowing the password change.
| Column | Type | Null | Default | Comment |
|---|---|---|---|---|
| Token | char(100) | NOT NULL | BASE64-encoded reset token (matched on redemption) | |
| EmailAddress | char(100) | NOT NULL | Email address of the user requesting the reset | |
| Sent | tinyint | NULL | 0 | 1 = the reset email was sent |
| WhenCreated | timestamp | NULL | current timestamp | Timestamp of when the request was created |
-- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."IQXNetPasswordChangeRequest" -- Table comment: Tracks password reset requests initiated via the forgotten password flow. When a user requests a reset a token is generated, BASE64-encoded, stored here, and emailed to them. On redemption the token is matched against this table and "Sent" is checked to confirm the email was dispatched before allowing the password change. -- Statement count: 6 CREATE TABLE "pears"."IQXNetPasswordChangeRequest" ( "Token" CHAR(100) NOT NULL ,"EmailAddress" CHAR(100) NOT NULL ,"Sent" tinyint NULL DEFAULT 0 ,"WhenCreated" TIMESTAMP NULL DEFAULT CURRENT TIMESTAMP ,PRIMARY KEY ("Token" ASC) ) GO COMMENT ON COLUMN "pears"."IQXNetPasswordChangeRequest"."Token" IS 'BASE64-encoded reset token (matched on redemption)' GO COMMENT ON COLUMN "pears"."IQXNetPasswordChangeRequest"."EmailAddress" IS 'Email address of the user requesting the reset' GO COMMENT ON COLUMN "pears"."IQXNetPasswordChangeRequest"."Sent" IS '1 = the reset email was sent' GO COMMENT ON COLUMN "pears"."IQXNetPasswordChangeRequest"."WhenCreated" IS 'Timestamp of when the request was created' GO COMMENT ON TABLE "pears"."IQXNetPasswordChangeRequest" IS 'Tracks password reset requests initiated via the forgotten password flow. When a user requests a reset a token is generated, BASE64-encoded, stored here, and emailed to them. On redemption the token is matched against this table and "Sent" is checked to confirm the email was dispatched before allowing the password change.' GO