mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-03 13:59: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
|
* @var bool Whether this orderdetail's supplier part number should be exported as a KiCad field
|
||||||
*/
|
*/
|
||||||
#[Groups(['full', 'import', 'orderdetail:read', 'orderdetail:write'])]
|
#[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;
|
protected bool $kicad_export = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue