mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-01 21:09:35 +00:00
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:
parent
9831db30c8
commit
618d21ae4f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue