Aimeos Customers Data - Saving in Users Table

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
mohal_04
Advanced
Posts: 108
Joined: 27 Mar 2018, 05:59

Aimeos Customers Data - Saving in Users Table

Post by mohal_04 » 24 Aug 2018, 12:10

Laravel: 5.6
Aimeos: 2018.04
PHP: 7.1.18

Hi,

I have Aimeos package installed on Laravel. Aimeos DB has `mshop_customer` table but all new customers are saving in Laravel's `users` table.

Can you explain why we have `mshop_customer` table if customer data is not storing into it?

Thanks!

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

Re: Aimeos Customers Data - Saving in Users Table

Post by aimeos » 24 Aug 2018, 14:23

That's the standard table from the Aimeos core but as you correctly state in Laravel and the other frameworks their user tables are used instead. The mshop_customer table is always created by the Aimeos core setup task because it doesn't know what the host application is and if other tables for user data will be used.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

mohal_04
Advanced
Posts: 108
Joined: 27 Mar 2018, 05:59

Re: Aimeos Customers Data - Saving in Users Table

Post by mohal_04 » 28 Aug 2018, 04:39

aimeos wrote:That's the standard table from the Aimeos core but as you correctly state in Laravel and the other frameworks their user tables are used instead. The mshop_customer table is always created by the Aimeos core setup task because it doesn't know what the host application is and if other tables for user data will be used.
Hi,

Thanks for the reply! So, I guess I can delete `mshop_customer` table (and all related tables) without any concern.

Thanks!

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

Re: Aimeos Customers Data - Saving in Users Table

Post by aimeos » 29 Aug 2018, 21:23

Besides the mshop_customer_group table but the others will be recreated as soon as you execute the aimeos:setup task
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

mohal_04
Advanced
Posts: 108
Joined: 27 Mar 2018, 05:59

Re: Aimeos Customers Data - Saving in Users Table

Post by mohal_04 » 31 Aug 2018, 06:19

aimeos wrote:Besides the mshop_customer_group table but the others will be recreated as soon as you execute the aimeos:setup task
OK thanks! So, no deleting! :D

Post Reply