====== pears.StudentVacation ======
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
===== Description =====
Contains the start and end dates of standard student vacations. Used when matching candidates with vacation availability / unavailability.
===== Columns =====
^ Column ^ Type ^ Null ^ Default ^ Comment ^
| **StudentVacationID** | char(20) | NOT NULL | | |
| FromDate | date | NOT NULL | | |
| ToDate | date | NOT NULL | | |
===== Primary Key =====
* StudentVacationID
===== Foreign Keys =====
* No outgoing foreign keys found.
===== Referenced By =====
* No incoming foreign keys found.
===== Indexes =====
^ Name ^ Type ^ Columns ^ Detail ^
| StudentVacation_Date | Index | FromDate | |
===== Triggers =====
* No triggers found.
===== Original SQL =====
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."StudentVacation"
-- Table comment: Contains the start and end dates of standard student vacations. Used when matching candidates with vacation availability / unavailability.
-- Statement count: 3
CREATE TABLE "pears"."StudentVacation" (
"StudentVacationID" char(20) NOT NULL
,"FromDate" date NOT NULL
,"ToDate" date NOT NULL
,PRIMARY KEY ("StudentVacationID" ASC)
)
go
COMMENT ON TABLE "pears"."StudentVacation" IS
'Contains the start and end dates of standard student vacations. Used when matching candidates with vacation availability / unavailability.'
go
CREATE INDEX "StudentVacation_Date" ON "pears"."StudentVacation"
( "FromDate" )
go