| 12345678910111213141516171819202122232425262728293031323334353637383940 | 
							- <?php
 
- use Illuminate\Support\Facades\Schema;
 
- use Illuminate\Database\Schema\Blueprint;
 
- use Illuminate\Database\Migrations\Migration;
 
- class CreatePaymentsTable extends Migration
 
- {
 
-     /**
 
-      * Run the migrations.
 
-      *
 
-      * @return void
 
-      */
 
-     public function up()
 
-     {
 
-         Schema::create('payments', function (Blueprint $table) {
 
-             $table->increments('id');
 
-             $table->string('name')->comment('名称');
 
-             $table->string('alias')->comment('别名');
 
-             $table->string('s_intro')->comment('简单描述');
 
-             $table->string('introd')->comment('详细描述');
 
-             $table->string('partnerid')->comment('合作者身份(Partner ID)')->nullable();
 
-             $table->string('ytauthkey')->comment('安全校验码(Key)')->nullable();
 
-             $table->string('account')->comment('账号')->nullable();
 
-             $table->tinyInteger('type')->default('1')->comment('类型(1:支付宝 2:微信 3: 线下转账)');
 
-             $table->timestamps();
 
-             $table->softDeletes();
 
-         });
 
-     }
 
-     /**
 
-      * Reverse the migrations.
 
-      *
 
-      * @return void
 
-      */
 
-     public function down()
 
-     {
 
-         Schema::dropIfExists('payments');
 
-     }
 
- }
 
 
  |