Hey,
When I run the migration command
heroku run php artisan migrate
I get the following error:
In Connection.php line 671:
SQLSTATE[22023]: Invalid parameter value: 7 ERROR: invalid value for param eter "client_encoding": "utf8mb4" (SQL: select * from information_schema.ta bles where table_schema = public and table_name = migrations and table_type = 'BASE TABLE')
In PostgresConnector.php line 68:
SQLSTATE[22023]: Invalid parameter value: 7 ERROR: invalid value for param eter "client_encoding": "utf8mb4"
hmmm. did you set pgsql as your default database?
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey,
When I run the migration command
heroku run php artisan migrate
I get the following error:
In Connection.php line 671:
SQLSTATE[22023]: Invalid parameter value: 7 ERROR: invalid value for param
eter "client_encoding": "utf8mb4" (SQL: select * from information_schema.ta
bles where table_schema = public and table_name = migrations and table_type
= 'BASE TABLE')
In PostgresConnector.php line 68:
SQLSTATE[22023]: Invalid parameter value: 7 ERROR: invalid value for param
eter "client_encoding": "utf8mb4"
hmmm. did you set pgsql as your default database?