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

Failed to seed sample data #18

Open
perotom opened this issue Nov 15, 2024 · 0 comments
Open

Failed to seed sample data #18

perotom opened this issue Nov 15, 2024 · 0 comments
Assignees

Comments

@perotom
Copy link

perotom commented Nov 15, 2024

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.

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

2 participants