Skip to content

Migration sequence not available #21

@mnadeemasghar

Description

@mnadeemasghar

I have a problem here while using the the package.

Senario:

If we have two table users and hotels, here hotels is owned by users via owner_id.

Problem:

By running the php artisan migrate:sync it creates hotels table first, which leads to migration error because hotels have foreign key owner_id linked to users

Required Solution:

Somehow, add sequence of the migrations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions