invitations


Columns

Column Type Size Nulls Auto Default Children Parents Comments
ID int8 19 null

Invitation ID

creator int4 10 null
users.ID fk_invitations_creator N

Creator user ID (defaults to authenticated user on creation)

creationdate int8 19 date_part('epoch'::text, now())

Creation date and time as a Unix time stamp (defaults to current date and time on creation)

lastmodified int8 19 date_part('epoch'::text, now())

Last modification date and time as a Unix time stamp (auto-reset on modification)

appointment int4 10 null
appointments.ID fk_invitations_appointment C

Appointment ID (**dependency**)

contact int4 10 null
contacts.ID fk_invitations_contact N

Contact ID

name text 2147483647 null

Name

email text 2147483647 ''::text

E-mail address

flag int2 5 0

Flag (0=UNANSWERED, 1=CONFIRMED, 2=REJECTED)

Table contained 0 rows

Indexes

Constraint Name Type Sort Column(s)
pk_invitations Primary key Asc ID
fk_invitations_appointment Performance Asc appointment
fk_invitations_contact Performance Asc contact

Relationships