标签:highlight rip ast class 文件 schema migrate password set
解决方案:
打开创建表的那个 migration 文件,在创建表的方法执行之前加一个判断条件
if (!Schema::hasTable(‘password_resets‘)) {
    Schema::create(‘password_resets‘, function (Blueprint $table) {
        $table->string(‘email‘)->index();
        $table->string(‘token‘);
        $table->timestamp(‘created_at‘)->nullable();
    });
}
标签:highlight rip ast class 文件 schema migrate password set
原文地址:https://www.cnblogs.com/mmykdbc/p/11978843.html