create table questions_new_free_assessment (
id bigint not null primary key,
inserted_at timestamp default now() not null,
updated_at timestamp default now() not null,
question_text text not null,
question_description text,
**type public.valid_question_type not null,**
choices text[],
answer text,
priority integer
);
Here the the column type is defined as a custom struct type of the valid_question_type but its not exported in the sql or ts
Here the the column type is defined as a custom struct type of the valid_question_type but its not exported in the sql or ts