In the next update of DisableTracking Plugin I need to modify the table I created 7 years ago with \Piwik\Plugin::install
. I read the docs and saw that I can use migrations / updates for it. Nice.
After some testing, I saw that the migrations are applied when I install the plugin manually, but aren’t when I run my IntegrationTestCase
.
In theory right now it wouldn’t be a problem, but it’s “wrong”. How can I trigger Matomo to run the migration of my plugin (for example in IntegrationTestCase::setUp
)?
You can find the development code here.