resources


Columns

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

Resource ID

creator int4 10 null
users.ID fk_resources_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)

application int4 10 null
applications.ID fk_resources_application C

Application ID (null=STANDALONE)

binfile int4 10 null
activity int2 5 0

Activity (0=ACTIVE, 1=DEACTIVATED, 2=DELETED)

name text 2147483647 null

Name

identifier varchar 200 null

Unique resource identifier (Pattern: ^[a-zA-Z\d][\w.-]*$)

mimetype text 2147483647 'text/x-zymba'::text

MIME type (RFC 2045) (Pattern: ^[a-z]+/[^ \t\v\r\n]+$)

public int2 5 0

Publicly accessible

Table contained 0 rows

Indexes

Constraint Name Type Sort Column(s)
pk_resources Primary key Asc ID
fk_resources_application Performance Asc application
s_resources Performance Asc/Asc name + identifier
u_resources_identifier Must be unique Asc identifier

Relationships