| 1234567891011121314151617181920212223242526272829303132333435 | 
							- <?php
 
- use Illuminate\Support\Facades\Schema;
 
- use Illuminate\Database\Schema\Blueprint;
 
- use Illuminate\Database\Migrations\Migration;
 
- class CreateUserResetsTable extends Migration
 
- {
 
-     /**
 
-      * Run the migrations.
 
-      *
 
-      * @return void
 
-      */
 
-     public function up()
 
-     {
 
-         Schema::create('user_resets', function (Blueprint $table) {
 
-             $table->increments('id');
 
-             $table->unsignedInteger('user_id')->nullable();
 
-             $table->string('phone', 200)->nullable();
 
-             $table->string('name', 200)->nullable();
 
-             $table->tinyInteger('status')->default(1)->comment('1待审核,2重置,3驳回');
 
-             $table->timestamps();
 
-         });
 
-     }
 
-     /**
 
-      * Reverse the migrations.
 
-      *
 
-      * @return void
 
-      */
 
-     public function down()
 
-     {
 
-         Schema::dropIfExists('user_resets');
 
-     }
 
- }
 
 
  |