links


Columns

Column Type Size Nulls Auto Default Children Parents Comments
ID int4 10 null

Link ID

owneruser int4 10 null
users.ID fk_links_owneruser C

Owner user ID (PUBLIC if owneruser=null and ownergroup=null)

ownergroup int4 10 null
groups.ID fk_links_ownergroup C

Owner group ID (PUBLIC if owneruser=null and ownergroup=null)

creator int4 10 null
users.ID fk_links_creator N

Creator user ID (defaults to authenticated user on creation)

assigneduser int4 10 null
users.ID fk_links_assigneduser N

Assigned user ID

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)

visibility int2 5 0

Visibility (0=REGULAR, 1=ARCHIVED, 2=DELETED)

name text 2147483647 null

Name

url text 2147483647 ''::text

URL

username text 2147483647 ''::text

Username

password text 2147483647 ''::text

Password

visits int4 10 0

Number of visits

description text 2147483647 ''::text

Detailed general description

Table contained 0 rows

Indexes

Constraint Name Type Sort Column(s)
pk_links Primary key Asc ID
i_links_noowner Performance Asc ownergroup
i_links_owner Performance Asc/Asc/Asc owneruser + ownergroup + assigneduser
s_links Performance Asc/Asc name + url

Relationships