oxbir
1 month ago
191
3
Laravel

SQLSTATE[42000]: Syntax error or access violation

Posted 1 month ago by oxbir

I am using XAMPP and MySQL version. I'm trying to migrate Laravel media libraries package:

DATABASE

public function up()
{
    Schema::create('users', function (Blueprint $table) {
        $table->bigIncrements('id');
        $table->string('first_name');
        $table->string('last_name');
        $table->string('mobile')->unsigned();
        $table->string('telephone');
        $table->string('email')->unique();
        $table->timestamp('email_verified_at')->nullable();
        $table->string('password');
        $table->string('image')->nullable();
        $table->rememberToken();
        $table->timestamps();
    });
}

Please sign in or create an account to participate in this conversation.