I have a custom plugin which is added via path repository on local.
I have some migrations in the src
folder.
My problem is if I uninstall the plugin and install it again, I can see all of the migrations in the migration table, but only Install migration is applied.
If I change the version and schema version of the plugin and remove and require the plugin again, I get update plugin notification on the dashboard and all of the migrations are applied correctly.
also if i create and apply these migrations via command i can see change in databases.
i don't why migrations aren't applied on plugin install -except Install migration-?