Skip to content
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

Remove the migration commands unless in debug mode #27113

Merged

Conversation

nickvergessen
Copy link
Member

@nickvergessen nickvergessen commented May 26, 2021

⚠️ Warning: Do not enable debug just to run those migration:* commands unless you are a developer and know what you are doing. If you try to use migration:execute you are doing something wrong. Apps should only be updated with the occ upgrade command which will also automatically update the database. If that doesn't work open an issue in the app and if the developer needs help please reach out to a server engineer to get help on your issue.

Signed-off-by: Joas Schilling <coding@schilljs.com>
@matiasdelellis
Copy link

Hi,
How about generate migrations???

[matias@nube nextcloud]$ sudo -u apache php occ migrations:generate facerecogntion:0860

  There are no commands defined in the "migrations" namespace.

@nickvergessen
Copy link
Member Author

nickvergessen commented Nov 24, 2021

Replace the colon with a space between app id and version and it's singular migration not migrations

sudo -u apache php occ migration:generate facerecogntion 0860

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants