error: [ERROR] insert into "public"."articles" ("content", "created_at", "description", "document_id", "locale", "published_at", "slug", "title", "updated_at") values ($1, $2, $3, $4, $5, $6, $7, $8, $9) returning "id" - value too long for type character varying(255)
and
error: [ERROR] insert into "public"."components_shared_seos" ("canonical_url", "keywords", "meta_description", "meta_robots", "meta_title", "meta_viewport", "structured_data") values ($1, $2, $3, $4, $5, $6, $7) returning "id" - value too long for type character varying(255)
Steps to reproduce the behavior
Follow read me instructions for setup.
Expected behavior
Import should work
Additional context
After manually changing all column length to more than 255, started to work. Tested with Postgresql 16.
Fix
Describe your request
npm run seed
finished witherror: [ERROR] insert into "public"."articles" ("content", "created_at", "description", "document_id", "locale", "published_at", "slug", "title", "updated_at") values ($1, $2, $3, $4, $5, $6, $7, $8, $9) returning "id" - value too long for type character varying(255)
and
error: [ERROR] insert into "public"."components_shared_seos" ("canonical_url", "keywords", "meta_description", "meta_robots", "meta_title", "meta_viewport", "structured_data") values ($1, $2, $3, $4, $5, $6, $7) returning "id" - value too long for type character varying(255)
Steps to reproduce the behavior
Expected behavior
Import should work
Additional context
After manually changing all column length to more than 255, started to work. Tested with Postgresql 16.