Default value for database table attribute
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!
-
- Posts: 40
- Joined: 02 Dec 2021, 17:18
Default value for database table attribute
How can I set a default value for newly added database table attributes.
TIA
TIA

- Attachments
-
- supplierSchema.png (70.93 KiB) Viewed 902 times
Re: Default value for database table attribute
Use this in the "options" array:
Code: Select all
'default' => 0,
// or
'default' => ''
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
