====== pears.IQXNetDBVersion ====== Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. ===== Description ===== Tracks the current schema version of the iqxWEB database. Used to determine whether a migration or setup procedure needs to run and to guard against applying the same update twice. ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **id** | integer | NOT NULL | | PK — row identifier (single-row table) | | version | integer | NULL | | Current schema version number | ===== Primary Key ===== * id ===== Foreign Keys ===== * No outgoing foreign keys found. ===== Referenced By ===== * No incoming foreign keys found. ===== Indexes ===== * No indexes found. ===== Triggers ===== * No triggers found. ===== Original SQL ===== -- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."IQXNetDBVersion" -- Table comment: Tracks the current schema version of the iqxWEB database. Used to determine whether a migration or setup procedure needs to run and to guard against applying the same update twice. -- Statement count: 4 CREATE TABLE "pears"."IQXNetDBVersion" ( "id" integer NOT NULL ,"version" integer NULL ,PRIMARY KEY ("id" ASC) ) go COMMENT ON COLUMN "pears"."IQXNetDBVersion"."id" IS 'PK — row identifier (single-row table)' go COMMENT ON COLUMN "pears"."IQXNetDBVersion"."version" IS 'Current schema version number' go COMMENT ON TABLE "pears"."IQXNetDBVersion" IS 'Tracks the current schema version of the iqxWEB database. Used to determine whether a migration or setup procedure needs to run and to guard against applying the same update twice.' go