Skip to content

Instantly share code, notes, and snippets.

@agungprsty
Created May 28, 2022 23:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agungprsty/fc2ea667d15f8be006eee846fc790c68 to your computer and use it in GitHub Desktop.
Save agungprsty/fc2ea667d15f8be006eee846fc790c68 to your computer and use it in GitHub Desktop.
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table->uuid('id')->unique();
$table->string('name');
$table->string('email')->unique();
$table->timestamp('email_verified_at')->nullable();
$table->string('password');
$table->rememberToken();
$table->timestamps();
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment