You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
wisedf
changed the title
'A PostgreSQL type with the name document_signature_method was not found in the database' when update TypeName = "jsonb"
'A PostgreSQL type with the name document_signature_method was not found in the database' when update collumn TypeName = "jsonb"
Oct 28, 2024
A provisional solution adopted is to create a specific converter for the property within the context inside OnModelCreating(ModelBuilder modelBuilder).
1. Description
When we try to update any column in Postgresql when TypeName = jsonb
DocumentSignatureMethod is type Enum
2. Exception
'A PostgreSQL type with the name document_signature_method was not found in the database'
3. Table DDL
CREATE TABLE public.documents (
id uuid NOT NULL,
signed_at timestamp NULL,
status int2 NOT NULL,
pending_signature_methods jsonb DEFAULT '[]'::jsonb NOT NULL,
CONSTRAINT documents_pk PRIMARY KEY (id)
);
Postgresql 15;
Assembly Z.EntityFramework.Plus.EFCore, Version=6.103.6.0
The text was updated successfully, but these errors were encountered: