-
-
Notifications
You must be signed in to change notification settings - Fork 159
migration undefined contant STDIN #248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Are you using PHP 8? |
Hi
I am using php 8.0.5
…On Wed, 26 May 2021, 7:47 pm Luca Longo, ***@***.***> wrote:
Are you using PHP 8?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#248 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEOGOQHCQ2YVNKAXIJFZ7U3TPS7TXANCNFSM45QOVNLQ>
.
|
Try like so: Artisan::call("tenants:artisan \"migrate --force --path=database/migrations/tenant_migrations --database=tenant\" --tenant={$idcheck->id}"); |
thank you the change works perfectly - all fixed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to do migration
this command works on localhost perfectly
these are the 2 lines before the error message
DB::purge('landlord');
DB::setDefaultConnection('landlord');
**on production error message is
The text was updated successfully, but these errors were encountered: