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
DB column missing #2
Comments
The |
Craft's response:
|
Sorry, I omitted that part. Of course I did a You see that I did composer install, migrate all and project config apply. It installed your plugin when applying. After that, the error occurred. In the second screenshot you'll see what I did next:
My best guess is that you should not query for plugin existence in:
Querying for column existence is probably fine: While Craft takes care of migrations that were already applied via the migrations table, nobody can guarantee that this very column does not already exist on the entries table (created by someone else). My commands... here comes a lot of project config bla bla |
Thanks again :) I have removed the check and deployed a new release (1.0.1) |
Hi there,
I required and installed the plugin in a project on machine A. Everything works as expected. After committing and pushing the composer JSON and lock file, pulling it on machine B, running
composer insall
, then./craft migrate/all
it seems the database migration was not executed. It saysNo new migrations found. Your system is up to date.
.When hitting the "Create entry" button for an entry type that uses one of the plugin methods in its fields an exception is thrown:
My workaround was to uninstall and reinstall the plugin.
The text was updated successfully, but these errors were encountered: