postgresq syntax error

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!
mahmoud
Posts: 27
Joined: 27 Mar 2020, 22:01

postgresq syntax error

Post by mahmoud » 20 Apr 2021, 12:07

Hello,
in the fil:
ext\ai-laravel\lib\custom\setup\CustomerRemoveConstraints.php
error syntax:

Code: Select all

ALTER TABLE "users_address" DROP FOREIGN KEY "fk_lvuad_pid"
the correct syntax :

Code: Select all

ALTER TABLE users_address  DROP CONSTRAINT fk_lvuad_pid RESTRICT;
thank you

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: postgresq syntax error

Post by aimeos » 21 Apr 2021, 06:27

Thank you for pointing out. Can you please create an issue in the https://github.com/aimeos/ai-laravel Github repository?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: postgresq syntax error

Post by aimeos » 24 Apr 2021, 08:45

Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply