I have written a small module and I've made Setup classes include
InstallData, InstallSchema, UpgradeData, and UpgradeSchema and put them in Setup folder, For the first time I did run
setup:upgrade command everything was ok.
A table created and some data inserted. But then I tried to edit
UpgradeData.php to change table schema and data, but nothing happened.
I also changed
module.xml and increase
setup_version to 0.0.3 or 0.0.4, but it didn't work!
I commented the "
if (version_compare($context->getVersion(), '0.0.2', '<'))" condition, but nothing changed after
Please help me what to do.