GeneX-2.0 DB: UserSec Table
GeneX-2.0 DB: UserSec Table
Table TypeInheritsComment
DATAnone The UserSec is now a mirror of the system user table (pg_user for Postgres), and mainly exists to store a reference to the contact information for the user.

Column Information
Column NameFull NameData TypeNot NULLComment
audit_fkAuditinttrueThe audit entry when this data was last modified, it will be null if it is the creation event. We set the write_sql attribute to be false so that Postgres doesn't put a constraint on this column. It is automatically set by a trigger.
con_fkContact Informationinttruethe users contact information
ro_groupnameRead-Only Group NamenametrueThe group with permission to view this data.
rw_groupnameRead/Write Group NamenametrueThe group with permission to modify this data.
usernameUser NamenamefalseThe user's name in the system user table

Primary Key Information
Column Name
username

Foreign Key Information
Column NameForeign TablePrimary Key in Foreign TableForeign Key Type
audit_fkAuditaudit_pkONE_TO_ONE
con_fkContactcon_pkMANY_TO_ONE
ro_groupnameGroupSecnameONE_TO_ONE
rw_groupnameGroupSecnameONE_TO_ONE

Unique Column Information
Column Names
username con_fk

Index Information
NameColumn Name