Fix kicad_export column default for SQLite compatibility

Add options default to ORM column definition so schema:update
works correctly on SQLite test databases.
This commit is contained in:
Sebastian Almberg 2026-02-11 06:35:33 +01:00
parent 9831db30c8
commit 618d21ae4f

View file

@ -126,7 +126,7 @@ class Orderdetail extends AbstractDBElement implements TimeStampableInterface, N
* @var bool Whether this orderdetail's supplier part number should be exported as a KiCad field
*/
#[Groups(['full', 'import', 'orderdetail:read', 'orderdetail:write'])]
#[ORM\Column(type: Types::BOOLEAN)]
#[ORM\Column(type: Types::BOOLEAN, options: ['default' => false])]
protected bool $kicad_export = false;
/**