Skip to content

[Bug]: 'native:migrate fresh' does not work #175

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

Closed
ilkermutlu opened this issue Aug 12, 2023 · 3 comments · Fixed by #198
Closed

[Bug]: 'native:migrate fresh' does not work #175

ilkermutlu opened this issue Aug 12, 2023 · 3 comments · Fixed by #198
Labels
bug Something isn't working

Comments

@ilkermutlu
Copy link

What happened?

By running php artisan native:migrate fresh, I expected the whole database schema to be refreshed and all data gone as explained in the docs.

How to reproduce the bug

When I run the command, the output is as follows:

No arguments expected for "native:migrate" command, got "fresh".

Package Version

0.4.0

PHP Version

8.2.8

Laravel Version

10.18.0

Node Version

20.5.0

Which operating systems does with happen with?

macOS

Notes

No response

@ilkermutlu ilkermutlu added the bug Something isn't working label Aug 12, 2023
@mhoffmann777
Copy link

#168

@blankRSD
Copy link
Contributor

Use php artisan migrate:refresh instead

@vesper8
Copy link

vesper8 commented Sep 7, 2023

Use php artisan migrate:refresh instead

If you run this, it will perform the refresh on the local database (mysql for example) and not on the one that NativePhp uses ?

simonhamp added a commit that referenced this issue Apr 28, 2024
fix: #175 'native:migrate fresh' command does not work
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants