Problems with schema other than the default 'public' #546
Unanswered
fabioselau077
asked this question in
Bugs
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.
-
Hello, is there any known issue with customizing the schema? I needed to leave it in a different schema than the default public one, but apparently it converts to "core."taggables" instead of "core.taggables" which ends up breaking all the queries.
For example:
SQLSTATE[42P01]: Undefined table: 7 ERROR: missing FROM-clause entry for table "core" LINE 1: select * from "core"."taggables" where "core"."taggable_id" ... ^ (Connection: pgsql, SQL: select * from "core"."taggables" where "core"."taggable_id" = 7 and "core"."taggable_type" = Models\News)By modifying the function below I can now resolve the issue, but I don't know if the best way would be to open a PR, or create a new key in the 'schema' config.
HasTags.php
Beta Was this translation helpful? Give feedback.
All reactions