After upgrading to Raabel 5.7, did the column names in the users table change automatically?
Yes. (I'm not sure if that's the cause.)
$table->string('password')->nullable();
↓
$table->string('password,60') ->nullable();
Also, when I tried to enter my membership registration, I got the following error.
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'password' in 'field list' (SQL: insert into 'users' (`name', `lastname', `firstname', `email', `password', `updated_at', `created_at') values
Is the column name password,60
the specification of Ravel 5.7 or something?
Conversely, when I returned to $table->string('password')->nullable();
in migrate:refresh
, I got the following error:
SQLSTATE [HY000]:General error: 1364 Field 'proveider' does not have a default value
Have you registered $fillable on the Ravel side?
Also, are there any other columns that do not allow null but do not have the default value set?
This is all I could think of from the content and symptoms of the question
© 2024 OneMinuteCode. All rights reserved.