EmployerCustomMessages


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id uuid 2147483647 gen_random_uuid()
type enum_EmployerCustomMessages_type 2147483647 null
UserId uuid 2147483647 √ null
Users.id EmployerCustomMessages_UserId_fkey C
CompanyId uuid 2147483647 √ null
Companies.id EmployerCustomMessages_CompanyId_fkey C
operation enum_EmployerCustomMessages_operation 2147483647 null

The action performed by the employer that triggers this message

autoSend bool 1 false

Auto send this message when the application status is updated

message text 2147483647 null
translationKey text 2147483647 √ null

Translation key for the message. Only for system default messages

createdAt timestamptz 35,6 now()
updatedAt timestamptz 35,6 now()
JobId uuid 2147483647 √ null
Jobs.id EmployerCustomMessages_JobId_fkey C

Indexes

Constraint Name Type Sort Column(s)
EmployerCustomMessages_pkey Primary key Asc id
EmployerCustomMessages_CompanyId_operation_type_unique_idx Must be unique Asc/Asc/Asc CompanyId + operation + type
EmployerCustomMessages_CompanyId_type_idx Performance Asc/Asc CompanyId + type
EmployerCustomMessages_JobId_operation_type_unique_idx Must be unique Asc/Asc/Asc JobId + operation + type
EmployerCustomMessages_JobId_type_idx Performance Asc/Asc JobId + type
EmployerCustomMessages_type_idx Performance Asc type
EmployerCustomMessages_UserId_operation_type_unique_idx Must be unique Asc/Asc/Asc UserId + operation + type
EmployerCustomMessages_UserId_type_idx Performance Asc/Asc UserId + type

Relationships