begin to add movements to clean entry and output

This commit is contained in:
JBthePenguin 2021-08-31 16:51:45 +02:00
parent ff037ff75b
commit 4bb7e7d3b9
13 changed files with 138 additions and 21 deletions

View file

@ -39,7 +39,7 @@ CREATE TABLE IF NOT EXISTS plugin_materiels_movement (
kind varchar(20) NOT NULL,
equipment_number integer NOT NULL,
equipment_id integer NOT NULL,
mvt_date date NOT NULL,
mvt_date date NOT NULL,
additional_comment varchar(255),
FOREIGN KEY ( equipment_id ) REFERENCES plugin_materiels_equipment( id ) ON DELETE RESTRICT ON UPDATE CASCADE
);