More webgui work. Filters e.g.

This commit is contained in:
2024-04-19 13:25:56 +02:00
parent 851f7e13a2
commit c3b5ef95a9
20 changed files with 853 additions and 585 deletions
+9 -4
View File
@@ -78,9 +78,12 @@ CREATE TABLE storage (
stype tinyint(3) NOT NULL DEFAULT 0,
capacity smallint(6) DEFAULT NULL,
capaunit enum('kg', 'l') DEFAULT NULL,
x smallint(6) NOT NULL DEFAULT 0,
x smallint(6) UNSIGNED NOT NULL DEFAULT 0,
y smallint(6) NOT NULL DEFAULT 0,
z smallint(6) NOT NULL DEFAULT 0,
wx smallint(6) UNSIGNED NOT NULL DEFAULT 0,
wy smallint(6) UNSIGNED NOT NULL DEFAULT 0,
wz smallint(6) UNSIGNED NOT NULL DEFAULT 0,
remarks varchar(150) DEFAULT NULL,
PRIMARY KEY (sid)
);
@@ -122,7 +125,7 @@ CREATE TABLE equipment (
eid smallint(6) NOT NULL AUTO_INCREMENT,
vid smallint(6) NOT NULL DEFAULT 1,
ename varchar(80) NOT NULL,
make varchar(40),
shortname varchar(20) DEFAULT NULL,
model varchar(40),
ecat tinyint(3) DEFAULT NULL,
serial varchar(30),
@@ -189,7 +192,8 @@ CREATE TABLE document (
title varchar(40) DEFAULT NULL,
pages smallint(6) unsigned NOT NULL DEFAULT 1,
remarks varchar(150) DEFAULT NULL,
PRIMARY KEY (docid)
PRIMARY KEY (docid),
UNIQUE INDEX ix_hash (hash)
) ENGINE=InnoDB;
CREATE TABLE docref (
@@ -207,8 +211,9 @@ CREATE TABLE docref (
CREATE TABLE company (
compid smallint(6) NOT NULL AUTO_INCREMENT,
compname varchar(40) NOT NULL,
compname varchar(60) NOT NULL,
comptype tinyint(3) NOT NULL DEFAULT 1,
shortname varchar(20) DEFAULT NULL,
street varchar(30),
zip varchar(10),
city varchar(30),