MatchKeywordsPool


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id uuid 2147483647 gen_random_uuid()
QuestionKeywordMapping.keywordId QuestionKeywordMapping_keywordId_fkey R
name varchar 255 null
translationKey varchar 2147483647 √ null
type varchar 50 null
isNormalized bool 1 false
sourceId uuid 2147483647 √ null

Polymorphic skill or certificate identifier. Intentionally has no foreign key.

status enum_MatchKeywordsPool_status 2147483647 'DRAFT'::"enum_MatchKeywordsPool_status"
createdBy uuid 2147483647 null

Houston admin user identifier. Intentionally has no foreign key to Users.

updatedBy uuid 2147483647 null

Houston admin user identifier. Intentionally has no foreign key to Users.

createdAt timestamptz 35,6 now()
updatedAt timestamptz 35,6 now()

Indexes

Constraint Name Type Sort Column(s)
MatchKeywordsPool_pkey Primary key Asc id
MatchKeywordsPool_name_type_key Must be unique Asc/Asc name + type
MatchKeywordsPool_type_idx Performance Asc type
MatchKeywordsPool_updatedBy_idx Performance Asc updatedBy

Check Constraints

Constraint Name Constraint
MatchKeywordsPool_normalized_source_check (((NOT "isNormalized") OR ("sourceId" IS NOT NULL)))

Relationships