Replies: 1 comment 1 reply
-
If you are using Postgres you need to create the type in the database first (which is in the same section). Like: Type::create().as_enum(Category::Table)... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, in this exaple https://www.sea-ql.org/SeaORM/docs/migration/writing-migration/#schema-creation-methods
I can't understand how the code works, what we try to do
on new DB POSTGRES i get error<< Execution Error: error returned from database: type "category" does not exist>>
Beta Was this translation helpful? Give feedback.
All reactions