Answer the question
In order to leave comments, you need to log in
SQLSTATE[HY000]: General error: 1364 or query not working?
Updated migration for 'users' table
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table->id();
$table->string('fullName')->nullable();
$table->string('username');
$table->string('password');
$table->string('avatar')->default('/assets/images/no-avatar.png');
$table->string('email')->unique();
$table->string('role')->default('notpay');
$table->string('ability')->nullable();
$table->string('extras')->nullable();
$table->timestamps();
});
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question