ok to add entry and new equipment in db.
This commit is contained in:
parent
cd22b2a759
commit
bd2c6f25f5
5 changed files with 64 additions and 12 deletions
|
|
@ -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 ),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue