我怎么知道表中有错误?

时间:2018-11-04 13:16:52

标签: database laravel

以下是Laravel中的表结构,似乎其中有一个错误。谁能指导我? 这个错误给我的项目的未来带来了一些麻烦。

我自己找不到任何可疑的东西

<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateUserBaseInfosTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('user__base__infos', function (Blueprint $table) {
            $table->increments('id');
            $table->string('user_Name');
            $table->string('name');
            $table->string('family');
            $table->text('password');
            $table->boolean('block');
            $table->integer('num_reported');
            $table->boolean('is_sms_send');
            $table->boolean('is_email_send');
            $table->integer('link_id')->unsigned();
            $table->foreign('link_id')->references('id')->on('links');
            $table->integer('role_id')->unsigned();
            $table->foreign('role_id')->references('id')->on('roles');


            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('user__base__infos');
    }
}

1 个答案:

答案 0 :(得分:0)

替换:

来自:

AT+CGATT=1
AT+QIFGCNT=0
AT+QICSGP=1,"bsnlnet" 
AT+QIREGAPP
AT+QIACT
AT+QILOCIP
AT+QHTTPURL=66,30
my_66byte_long_URL
AT+QHTTPPOST=10,50
AT+QIDEACT

收件人:

$table->text('password');