modifyng mshop_product table with new coloumn
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!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- mahammadareef
- Posts: 54
- Joined: 14 Oct 2022, 11:54
modifyng mshop_product table with new coloumn
want to customize the mshop_product table and add a new column called identifier ...
and want to store a unique identifier when the product gets created ...how i can do this .. explain to me in steps
condition: add after code column
and want to store a unique identifier when the product gets created ...how i can do this .. explain to me in steps
condition: add after code column
Re: modifyng mshop_product table with new coloumn
The product code is exactly tailored for that.
If you want to add a new column nevertheless, implement a decorator for the manager:
https://aimeos.org/docs/latest/models/extend-managers/
If you want to add a new column nevertheless, implement a decorator for the manager:
https://aimeos.org/docs/latest/models/extend-managers/
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

- mahammadareef
- Posts: 54
- Joined: 14 Oct 2022, 11:54
Re: modifyng mshop_product table with new coloumn
Thank you for help .....
extending manager is okay but I want to know...
how to add an identifier (column) after code (column) in mshop_product ( table )
extending manager is okay but I want to know...
how to add an identifier (column) after code (column) in mshop_product ( table )
Re: modifyng mshop_product table with new coloumn
The used Upscheme library supports modifiers but no after() because only MySQL is offering that and column order isn't important.
The list of available column modifiers offered by Upscheme:
https://upscheme.org/#column-modifiers
The list of available column modifiers offered by Upscheme:
https://upscheme.org/#column-modifiers
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

- mahammadareef
- Posts: 54
- Joined: 14 Oct 2022, 11:54
Re: modifyng mshop_product table with new coloumn
can we alter the mshop_product table by using laravel default migrations ?
Re: modifyng mshop_product table with new coloumn
Yes, you can but it may create confusion where the additional column is created.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
