title: Change laravel default user id
body: <p>I am wondering if there is an easy way to assign my own (random integer) id to the user when sign up instead of default auto increment id?</p>
  <p>I use laravel 6+ with default authentication module.</p>
  <p>This is the code in RegisterController.php that I tried but it does not work:</p>
  <pre><code>/**
   * Create a new user instance after a valid registration.
   *
   * @param array $data
   * @return User
   */
  protected function create(array $data)
  {
      return User::create([
          'id'=$my_random_value, //I added this line
          'name' =&gt; $data['name'],
          'email' =&gt; $data['email'],
          'password' =&gt; Hash::make($data['password']),
      ]);
  }
  </code></pre>