FLUX-SE / SyliusEUVatPlugin

This Sylius Plugin allow you to add European VAT Number to the addresses and manage European VAT number rule
MIT License
16 stars 8 forks source link

Migrations not working #16

Closed bybilvanis closed 4 years ago

bybilvanis commented 4 years ago

I've followed your documentation to install the plugin and run the migrations but I get this output when I run: php bin/console doctrine:migrations:diff

No changes detected in your mapping information.
Schermafbeelding 2020-01-29 om 23 36 41

Prometee commented 4 years ago

There should be something wrong before this step, can you double check the installation and configuration process. Especially check that the plugin is well loaded, the classes are correctly filled and the mapping of your choice is present.

If you want to compare with your configuration check the content of the test app here : https://github.com/Prometee/SyliusVIESClientPlugin/tree/master/tests/Application

bybilvanis commented 4 years ago

I saw your comments about to have the entities in the Entity folder here.

I've sylius 1.6.5 and my Channel and Address entities are in Entity/Addressing and Entity/Channel folders can that be the reason?

I did everything and checked multiple times your readme everything is ok only two things are not clear to me:

Prometee commented 4 years ago

The second point "Then change the default Sylius model class" is absolutely required, all plugins which are altering the database are acting like this, and this part can't be done automatically.