Php 如何判断Elastic Beanstalk是否正在运行我的配置文件?

Php 如何判断Elastic Beanstalk是否正在运行我的配置文件?,php,amazon-web-services,amazon-elastic-beanstalk,Php,Amazon Web Services,Amazon Elastic Beanstalk,我在部署的应用程序上遇到错误: 找不到基表或视图:1146表“ebdb.users”不存在 这使我相信我的php artisan migrate命令不起作用,并且没有创建users表 这是我的一个配置文件(在我的.elasticbeanstalk文件夹中) 这是我的创建用户迁移文件: <?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class Cr

我在部署的应用程序上遇到错误:

找不到基表或视图:1146表“ebdb.users”不存在

这使我相信我的
php artisan migrate
命令不起作用,并且没有创建
users

这是我的一个配置文件(在我的.elasticbeanstalk文件夹中)

这是我的创建用户迁移文件:

<?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->increments('id');
            $table->string('email')->unique();
            $table->string('referral_id')->unique();
            $table->string('referred_by')->nullable()->default(null);
            $table->string('password', 60);
            $table->rememberToken();
            $table->timestamps();
        });
    }

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

将配置文件移动到
.ebextensions
文件夹中。它不属于
.elasticbeanstalk
one

我没有这个文件夹-我可以创建它吗?或者我应该使用特定的命令吗?
<?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->increments('id');
            $table->string('email')->unique();
            $table->string('referral_id')->unique();
            $table->string('referred_by')->nullable()->default(null);
            $table->string('password', 60);
            $table->rememberToken();
            $table->timestamps();
        });
    }

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