| 12345678910111213141516171819202122232425262728293031323334353637383940 | 
							- <?php
 
- use Illuminate\Support\Facades\Schema;
 
- use Illuminate\Database\Schema\Blueprint;
 
- use Illuminate\Database\Migrations\Migration;
 
- class CreateSmssTable extends Migration
 
- {
 
-     /**
 
-      * Run the migrations.
 
-      *
 
-      * @return void
 
-      */
 
-     public function up()
 
-     {
 
-         Schema::create('smss', function (Blueprint $table) {
 
-             $table->increments('id');
 
-             $table->string('name')->comment('名称');
 
-             $table->string('alias')->unique()->comment('别名');
 
-             $table->string('app_key')->comment('短信接口帐号');
 
-             $table->string('secret_key')->comment('短信接口密钥');
 
-             $table->string('signature_key')->comment('短信接口签名');
 
-             $table->tinyInteger('status')->default('1')->comment('是否启用(1:启用 0:禁止)');
 
-             $table->string('remark')->comment('描述');
 
-             $table->tinyInteger('order')->default('0')->index()->comment('排序');
 
-             $table->timestamps();
 
-             $table->softDeletes();
 
-         });
 
-     }
 
-     /**
 
-      * Reverse the migrations.
 
-      *
 
-      * @return void
 
-      */
 
-     public function down()
 
-     {
 
-         Schema::dropIfExists('smss');
 
-     }
 
- }
 
 
  |