Page 1 of 1

Aimeos Customers Data - Saving in Users Table

Posted: 24 Aug 2018, 12:10
by mohal_04
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!

Re: Aimeos Customers Data - Saving in Users Table

Posted: 24 Aug 2018, 14:23
by aimeos
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.

Re: Aimeos Customers Data - Saving in Users Table

Posted: 28 Aug 2018, 04:39
by mohal_04
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!

Re: Aimeos Customers Data - Saving in Users Table

Posted: 29 Aug 2018, 21:23
by aimeos
Besides the mshop_customer_group table but the others will be recreated as soon as you execute the aimeos:setup task

Re: Aimeos Customers Data - Saving in Users Table

Posted: 31 Aug 2018, 06:19
by mohal_04
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