Show pageOld revisionsBacklinksExport to PDFFold/unfold allBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== pears.IQXNetPasswordChangeRequest ====== <WRAP center round info> Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. </WRAP> ===== Description ===== 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. ===== Columns ===== ^ 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 | ===== Primary Key ===== * Token ===== Foreign Keys ===== * No outgoing foreign keys found. ===== Referenced By ===== * No incoming foreign keys found. ===== Indexes ===== * No indexes found. ===== Triggers ===== * No triggers found. ===== Original SQL ===== <code sql> -- 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 </code> database/tables/pears_iqxnetpasswordchangerequest.txt Last modified: 2026/08/07 19:24by 127.0.0.1