setup task

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!
yong
Posts: 43
Joined: 10 Apr 2019, 12:55

Re: setup task

Post by yong » 17 Jul 2019, 10:19

And after that ...!? what about setup task ?

yong
Posts: 43
Joined: 10 Apr 2019, 12:55

Re: setup task

Post by yong » 17 Jul 2019, 10:21

I dit it ! But what's rhe next step please ? how can i write the setup tasks ?

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

Re: setup task

Post by aimeos » 17 Jul 2019, 10:22

You don't need a setup task because you
- don't migrate any data
- don't created a new domain
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

yong
Posts: 43
Joined: 10 Apr 2019, 12:55

Re: setup task

Post by yong » 17 Jul 2019, 10:25

thanks ! so after this i just have to execute php artisan aimeos:setup ?

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

Re: setup task

Post by aimeos » 17 Jul 2019, 10:27

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

yong
Posts: 43
Joined: 10 Apr 2019, 12:55

Re: setup task

Post by yong » 17 Jul 2019, 10:49

I've this error
Capture.PNG
Capture.PNG (28.21 KiB) Viewed 2077 times

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

Re: setup task

Post by aimeos » 17 Jul 2019, 10:55

Make sure your extension depends on ai-laravel in the manifest.php file of your extension. Otherwise, the execution order is random.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

yong
Posts: 43
Joined: 10 Apr 2019, 12:55

Re: setup task

Post by yong » 17 Jul 2019, 11:22

thanks ! how if i want to overwrite the setup that add some data and table in the users table (in fact i don't want to have the additional columns of the ai-laravel or other setup)

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

Re: setup task

Post by aimeos » 17 Jul 2019, 11:50

That doesn't work because Aimeos requires the address data in the users table. Otherwise, you would have to rewrite the Laravel customer manager too.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply