Skip to content

Failed to seed sample data #18

Open
@perotom

Description

@perotom

Fix

Describe your request

npm run seed finished with

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

  1. 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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions