×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: userc865b
Added: May 11, 2017 11:07 AM
Modified: Sep 5, 2018 12:40 PM
Views: 2381
Tags: laravel
  1.    if (!Schema::hasTable('password_resets')) {
  2.             Schema::create('password_resets', function (Blueprint $table) {
  3.                 $table->string('email')->index();
  4.                 $table->string('token');
  5.                 $table->timestamp('created_at')->nullable();
  6.             });
  7.         }