Fixes for webgui and more native gui development
This commit is contained in:
+2
-1
@@ -222,6 +222,7 @@ CREATE TABLE equipment (
|
||||
CREATE TABLE inventory (
|
||||
invid int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
invname varchar(80) NOT NULL,
|
||||
icat tinyint(3) DEFAULT NULL,
|
||||
conttype enum('storage','box') NOT NULL DEFAULT 'storage',
|
||||
sid smallint(6) UNSIGNED DEFAULT NULL,
|
||||
boxid smallint(6) UNSIGNED DEFAULT NULL,
|
||||
@@ -470,7 +471,7 @@ CREATE TABLE note (
|
||||
annotation text NOT NULL,
|
||||
created_at timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
created_by smallint(6) DEFAULT NULL,
|
||||
PRIMARY KEY (noteid)
|
||||
PRIMARY KEY (noteid),
|
||||
FOREIGN KEY fk_note_user (created_by)
|
||||
REFERENCES user(userid)
|
||||
ON DELETE RESTRICT
|
||||
|
||||
Reference in New Issue
Block a user