Skip to content

I have a migration file in landlord ,but it will migrate to tenant #339

Answered by masterix21
hengchao asked this question in Q&A
Discussion options

You must be logged in to vote

You should ignore the Sanctum migrations on tenant:

if (! Tenant::checkCurrent()) {
    Sanctum::ignoreMigrations();
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hengchao
Comment options

Answer selected by hengchao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants