ParameterCategories


Description

This table is used to store all the categories and the parameter it belong to.

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id uuid 2147483647 gen_random_uuid()
ContentScores.CategoryId ContentScores_CategoryId_fkey C

Primary Key.

ParameterId uuid 2147483647 null
ScoreParameters.id ParameterCategories_ParameterId_fkey C

Foreign Key to ScoreParameters table, the parameter this category belong to.

name text 2147483647 null

Category name.

score int4 10 null

Category score.

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

Indexes

Constraint Name Type Sort Column(s)
ParameterCategories_pkey Primary key Asc id
gcud_ParameterCategories_createdAt_idx Performance Asc createdAt
gcud_ParameterCategories_ParameterId_idx Performance Asc ParameterId

Relationships