SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for type integer: "97fds -fdsfds-fdsfs" #2436
Unanswered
vinod-digitalcubez
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
when i m using laravel 9 uuid feature getting this error.
select "attachments".*, "attachmentable"."attachmentable_id" as "pivot_attachmentable_id", "attachmentable"."attachment_id" as "pivot_attachment_id", "attachmentable"."attachmentable_type" as "pivot_attachmentable_type" from "attachments" inner join "attachmentable" on "attachments"."id" = "attachmentable"."attachment_id" where "attachmentable"."attachmentable_id" = 97fds -fdsfds-fdsfs and "attachmentable"."attachmentable_type" = App\Models\Customer and "group" = photo order by "sort" asc
when i edit in table $table->uuidMorphs('attachmentable_id'); then migrate error this below.
column "attachmentable_id" does not exist (SQL: create index "attachmentable_attachmentable_type_attachmentable_id_index" on "attachmentable" ("attachmentable_type", "attachmentable_id"
Beta Was this translation helpful? Give feedback.
All reactions