ok to add entry and new equipment in db.

This commit is contained in:
JBthePenguin 2021-06-05 11:04:30 +02:00
parent cd22b2a759
commit bd2c6f25f5
5 changed files with 64 additions and 12 deletions

View file

@ -13,7 +13,7 @@ CREATE TABLE IF NOT EXISTS plugin_materiels_location (
CREATE TABLE IF NOT EXISTS plugin_materiels_equipment (
id integer NOT NULL PRIMARY KEY autoincrement,
category_id integer NOT NULL,
localisation_id integer NOT NULL,
location_id integer NOT NULL,
number_of_equipments integer NOT NULL,
designation varchar(255) NOT NULL,
CONSTRAINT u_equipment_designation UNIQUE ( designation ),