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'); } }