campaigns


Details

Status codes

Status Activity ID Color
Draft DRAFT 0 green
Not started DRAFT 1 orange
Awaiting approval DRAFT 2 orange
Approved OPEN 3 green
Dismissed CANCELLED 4 red
Active OPEN 5 green
Inactive OPEN 6 orange
In Evaluation OPEN 7 green
Cancelled CANCELLED 8 red
Closed CLOSED 9 black

Columns

Column Type Size Nulls Auto Default Children Parents Comments
ID serial 10 nextval('"campaigns_ID_seq"'::regclass)
mailinglists.campaign FK_mailinglists_campaign N
opportunities.campaign FK_opportunities_campaign N
participants.campaign FK_participants_campaign C
ownergroup int4 10 null
groups.ID FK_campaigns_ownergroup C

The owner group (if owneruser and ownergroup are NULL, the element is public)

creator int4 10 null
users.ID FK_campaigns_creator N

The object creator

assigneduser int4 10 null
users.ID FK_campaigns_assigneduser N

The assigned user

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

Last modification date/time (Unix timestamp in seconds)

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

Last modification date/time (Unix timestamp in seconds)

visibility int2 5 0

0: Visible, 1: Archived, 2: Deleted

name text 2147483647 null
datefrom int8 19 null

Unix timestamp in seconds

dateto int8 19 null

Unix timestamp in seconds

status int2 5 0
description text 2147483647 ''::text

The general description field

Table contained 0 rows

Indexes

Constraint Name Type Sort Column(s)
PK_campaigns_ID Primary key Asc ID

Relationships