mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-17 15:49:34 +00:00
Assembly um IPN-Eingabemöglichkeit und Automatismus zur Name-Angabe erweitern
This commit is contained in:
parent
7e8d444ac8
commit
bdbaab98c5
29 changed files with 287 additions and 3 deletions
|
|
@ -120,6 +120,7 @@ final class Version20250304081039 extends AbstractMultiPlatformMigration
|
|||
last_modified DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL,
|
||||
datetime_added DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL,
|
||||
status VARCHAR(64) DEFAULT NULL,
|
||||
ipn VARCHAR(100) DEFAULT NULL,
|
||||
description CLOB NOT NULL,
|
||||
alternative_names CLOB DEFAULT NULL,
|
||||
CONSTRAINT FK_5F3832C0727ACA70 FOREIGN KEY (parent_id) REFERENCES assemblies (id) NOT DEFERRABLE INITIALLY IMMEDIATE,
|
||||
|
|
@ -132,6 +133,12 @@ final class Version20250304081039 extends AbstractMultiPlatformMigration
|
|||
$this->addSql(<<<'SQL'
|
||||
CREATE INDEX IDX_5F3832C0EA7100A1 ON assemblies (id_preview_attachment)
|
||||
SQL);
|
||||
$this->addSql(<<<'SQL'
|
||||
CREATE UNIQUE INDEX UNIQ_5F3832C03D721C14 ON assemblies (ipn)
|
||||
SQL);
|
||||
$this->addSql(<<<'SQL'
|
||||
CREATE INDEX assembly_idx_ipn ON assemblies (ipn)
|
||||
SQL);
|
||||
|
||||
$this->addSql(<<<'SQL'
|
||||
CREATE TABLE assembly_bom_entries (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue