-
Notifications
You must be signed in to change notification settings - Fork 121
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
Using UrlHum with Postgres results in internal server errors #29
Labels
enhancement
Enhancement of existing feature
Comments
Hello! |
Fixed this! Also, I managed to clean up some code using Laravel Relationships. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using PostgreSQL as database, all pages that use queries with
IFNULL
results in internal an server error as this is a MySQL only function.As a temporary workaround I have changed it to
COALESCE
locally.I suggest moving this logic into the application and handle the possibility of null in code using something like
$value ?? "default"
.The text was updated successfully, but these errors were encountered: