Database fixes and improvements
This commit is contained in:
+1
-1
@@ -220,7 +220,7 @@ CREATE TABLE inventory (
|
||||
FOREIGN KEY fk_inventory_box (boxid)
|
||||
REFERENCES box(boxid),
|
||||
FOREIGN KEY fk_inventory_equipment (eid)
|
||||
REFERENCES equipment(eid)
|
||||
REFERENCES equipment(eid),
|
||||
CHECK (
|
||||
(sid IS NOT NULL AND boxid IS NULL)
|
||||
OR
|
||||
|
||||
Reference in New Issue
Block a user