Skip to content

Need fix foreign key table name #246

Open
@chiricomarco

Description

@chiricomarco

In this file: /src/migrations/2015_02_07_172633_create_role_user_table.php - need to change the follow part of code:

before:
$table->foreign('user_id')
->references('id')
->on()
->onDelete('cascade');

after:
$table->foreign('user_id')
->references('id')
->on($this->prefix . 'users')
->onDelete('cascade');

Cheers
Marco

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions