0

hello all i'm trying do migrate but i didn't work

this migration file

public function up()
    {
        Schema::create('chanels', function (Blueprint $table) {
            $table->increments('id_chanel');
            $table->string('name');
            $table->integer('id_owner')->unsigned();
            $table->foreign('id_owner')->references('id_owner')->on('owners');
            $table->integer('id_responsable')->unsigned();
            $table->foreign('id_responsable')->references('id_responsable')->on('responsables');
            $table->integer('id_teleport')->unsigned();
            $table->foreign('id_teleport')->references('id_teleport')->on('teleports');
            $table->integer('id_provider')->unsigned();
            $table->foreign('id_provider')->references('id_provider')->on('providers');
            $table->string('satelite');
            $table->string('frequency');
            $table->integer('id_user')->unsigned();
            $table->foreign('id_user')->references('id_user')->on('users');
            $table->timestamps();
        });
    }

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

but i get this issue image of issue

thank you for your help

0 Answers0