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

Like ID

creator int4 10 null
users.ID fk_likes_creator C

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)

record int8 19 null
records.ID fk_likes_record C

Record ID (**dependency**)

Table contained 0 rows


Constraint Name Type Sort Column(s)
pk_likes Primary key Asc ID
u_likes_record_creator Must be unique Asc/Asc record + creator