Skip to content

Instantly share code, notes, and snippets.

@madhusudhan1234
Created December 14, 2018 11:07
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 madhusudhan1234/946a23f0e50e5c450ad0d1ae2947c342 to your computer and use it in GitHub Desktop.
Save madhusudhan1234/946a23f0e50e5c450ad0d1ae2947c342 to your computer and use it in GitHub Desktop.
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table->increments('id');
$table->string('name');
$table->string('email')->unique();
$table->string('address');
$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