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
Heroku SQLSTATE[42S22]: Column not found: 1054 Unknown column 'temperature_scale' in 'field list' #3175
Comments
Hi. |
Hi Asbiin, Thanks for the response! The php artisan migrate command gives the errors: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error i In PDOConnection.php line 63: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error i In PDOConnection.php line 61: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error i and wont' work |
Yep, we've seen that the latest update to DBAL breaks our migration (doctrine/dbal#3311). We'll revert the update of this package very soon. |
@djaiss Great stuff! |
HI @djaiss, I'm not sure this issue is fixed. I updated my heroku and now received: In Connection.php line 664: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'aaxwfbqdhklfzc0y In PDOStatement.php line 119: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'aaxwfbqdhklfzc0y In PDOStatement.php line 117: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'aaxwfbqdhklfzc0y |
This issue has been automatically locked since there |
Describe the bug
I have installed Monica on to Heroku, however cannot get past registration.
I receive the folliwing error:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'temperature_scale' in 'field list' (SQL: insert into
users
(account_id
,first_name
,last_name
,email
,password
,locale
,timezone
,currency_id
,temperature_scale
,updated_at
,created_at
) values (5, FirstName, LastName, emailaddress, password, en, Australia/Melbourne, 17, celsius, 2019-11-09 03:41:24, 2019-11-09 03:41:24))when i try run 'php artisan migrate' - i get:
In Connection.php line 664:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error i
n your SQL syntax; check the manual that corresponds to your MySQL server v
ersion for the right syntax to use near 'CHARACTER SET utf8mb4 DEFAULT NULL
COLLATE
utf8mb4_unicode_ci
' at line 1 (SQL: ALTER TABLE gifts CHANGE about_object_id about_object_id INT CHARACTER SET utf8mb4 DEFAULT NULL COLLATE
utf8mb4_unicode_ci
)In PDOConnection.php line 63:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error i
n your SQL syntax; check the manual that corresponds to your MySQL server v
ersion for the right syntax to use near 'CHARACTER SET utf8mb4 DEFAULT NULL
COLLATE
utf8mb4_unicode_ci
' at line 1In PDOConnection.php line 61:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error i
n your SQL syntax; check the manual that corresponds to your MySQL server v
ersion for the right syntax to use near 'CHARACTER SET utf8mb4 DEFAULT NULL
COLLATE
utf8mb4_unicode_ci
' at line 1Which version are you using:
hosting version on heroku, latest version
Additional context
It appears as thought the weather migration isn't in the database migrations table, as referred to in previous issue.
Any ideas guys? SUPER keen to try out this app!
The text was updated successfully, but these errors were encountered: