====== pears.ETipRegEx ======
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
===== Description =====
Regular expressions for shift import
===== Columns =====
^ Column ^ Type ^ Null ^ Default ^ Comment ^
| **RegID** | char(20) | NOT NULL | | |
| RegType | smallint | NULL | | |
| fieldnames | char(40) | NULL | | |
| RegEx | char(60) | NULL | | |
| Description | char(100) | NULL | | |
| defunct | tinyint | NULL | | |
| EtipID | char(20) | NULL | | |
===== Primary Key =====
* RegID
===== Foreign Keys =====
^ Constraint ^ Columns ^ References ^ Delete/update action ^
| Etip | EtipID | [[database:tables:pears_etip|pears.ETip (EtipID)]] | ON DELETE CASCADE |
===== 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"."ETipRegEx"
-- Table comment: Regular expressions for shift import
-- Statement count: 3
CREATE TABLE "pears"."ETipRegEx" (
"RegID" char(20) NOT NULL
,"RegType" smallint NULL
,"fieldnames" char(40) NULL
,"RegEx" char(60) NULL
,"Description" char(100) NULL
,"defunct" tinyint NULL
,"EtipID" char(20) NULL
,PRIMARY KEY ("RegID" ASC)
)
go
COMMENT ON TABLE "pears"."ETipRegEx" IS
'Regular expressions for shift import'
go
ALTER TABLE "pears"."ETipRegEx"
ADD FOREIGN KEY "Etip" ("EtipID" ASC)
REFERENCES "pears"."ETip" ("EtipID")
ON DELETE CASCADE
go