Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Defined types are not exported #29

Open
ultWorld opened this issue Jun 11, 2023 · 1 comment
Open

User Defined types are not exported #29

ultWorld opened this issue Jun 11, 2023 · 1 comment

Comments

@ultWorld
Copy link

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

@ultWorld
Copy link
Author

ultWorld commented Jun 11, 2023

CREATE TYPE valid_question_type AS ENUM ('choice', 'int', 'decimal', 'date');

this was used to generate in the beginning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant