ALTER TABLE users_address ADD CONSTRAINT fk_lvuad_pid FOREIGN KEY

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: ALTER TABLE users_address ADD CONSTRAINT fk_lvuad_pid FOREIGN KEY

Post by aimeos » 07 Mar 2020, 10:58

The setup is done by setup tasks, which are more advanced than migrations because you can define pre- and post-dependencies between tasks.

Your problem is that the "id" of the users table has a different definition than the standard one, e.g. it's not "unsigned":
https://github.com/aimeos/ai-laravel/bl ... er.php#L17
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply