begin to calculate stock, next calculate outputed
This commit is contained in:
parent
c4f8b4fb87
commit
71775c0f67
9 changed files with 96 additions and 68 deletions
|
|
@ -7,7 +7,6 @@ CREATE TABLE IF NOT EXISTS plugin_materiels_category (
|
|||
CREATE TABLE IF NOT EXISTS plugin_materiels_equipment (
|
||||
id integer NOT NULL PRIMARY KEY autoincrement,
|
||||
category_id integer NOT NULL,
|
||||
stock_number integer NOT NULL,
|
||||
designation varchar(255) NOT NULL,
|
||||
CONSTRAINT u_equipment_designation UNIQUE ( designation ),
|
||||
FOREIGN KEY ( category_id ) REFERENCES plugin_materiels_category( id ) ON DELETE RESTRICT ON UPDATE CASCADE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue