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.ChatInvite ====== <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 ===== Links to chatmessage ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **ChatID** | char(20) | NOT NULL | | | | **WhoID** | char(20) | NOT NULL | | | | ChatDate | timestamp | NULL | | | | LastResponse | timestamp | NULL | | | ===== Primary Key ===== * ChatID, WhoID ===== Foreign Keys ===== ^ Constraint ^ Columns ^ References ^ Delete/update action ^ | Chat | ChatID | [[database:tables:pears_chat|pears.Chat (ChatID)]] | NOT NULL; ON DELETE CASCADE | ===== 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"."ChatInvite" -- Table comment: Links to chatmessage -- Statement count: 3 CREATE TABLE "pears"."ChatInvite" ( "ChatID" char(20) NOT NULL ,"WhoID" char(20) NOT NULL ,"ChatDate" timestamp NULL ,"LastResponse" timestamp NULL ,PRIMARY KEY ("ChatID" ASC,"WhoID" ASC) ) go COMMENT ON TABLE "pears"."ChatInvite" IS 'Links to chatmessage' go ALTER TABLE "pears"."ChatInvite" ADD NOT NULL FOREIGN KEY "Chat" ("ChatID" ASC) REFERENCES "pears"."Chat" ("ChatID") ON DELETE CASCADE go </code> database/tables/pears_chatinvite.txt Last modified: 2026/08/07 19:24by 127.0.0.1