Laravel 迁移:类“未找到”
我正在将一个Laravel准系统项目部署到Microsoft Azure,但是每当我尝试执行时,我都会收到错误:php artisan migrate
[2015-06-13 14:34:05] 生产。错误: 异常 'Symfony\Component\Debug\Exception\FatalErrorException' 在 D:\home\site\vendor\laravel\framework\src\Illuminate\Database\Migrations\Migrator 中显示消息 'Class '' not found.php:328
堆栈跟踪:
#0 {main}
可能是什么问题?谢谢
-- 编辑 --
迁移类
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateUsersTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('users', function(Blueprint $table)
{
$table->bigIncrements('id');
$table->string('name', 50);
$table->string('surname', 50);
$table->bigInteger('telephone');
$table->string('email', 50)->unique();
$table->string('username', 50)->unique();
$table->string('password', 50);
$table->boolean('active')->default(FALSE);
$table->string('email_confirmation_code', 6);
$table->enum('notify', ['y', 'n'])->default('y');
$table->rememberToken();
$table->timestamps();
$table->index('username');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('users');
}
}