Webgui improve series handling and plan date precision
This commit is contained in:
1 parent
c2df7e8013
commit
b3825cb1b3
6 files changed
+373
-272
No files matched your search
+3
-2
@@ -413,14 +413,15 @@ CREATE TABLE maintenance (
|
||||
maintid int(10) NOT NULL AUTO_INCREMENT,
|
||||
vid smallint(6) NOT NULL DEFAULT 1,
|
||||
eid smallint(6) UNSIGNED DEFAULT NULL,
|
||||
series smallint(6) DEFAULT NULL,
|
||||
series smallint(6) UNSIGNED DEFAULT NULL,
|
||||
activities varchar(40) NOT NULL,
|
||||
plan_date DATE DEFAULT NULL,
|
||||
plan_precision enum('day','week','month','quarter') NOT NULL DEFAULT 'day',
|
||||
completion_date DATE DEFAULT NULL,
|
||||
interval_hours smallint(6) DEFAULT NULL,
|
||||
last_hours int(10) DEFAULT NULL,
|
||||
remarks varchar(150) DEFAULT NULL,
|
||||
maintstate enum('new','plan','ongoing','done') NOT NULL DEFAULT 'new',
|
||||
maintstate enum('new','plan','ongoing','skipped','missed','done') NOT NULL DEFAULT 'new',
|
||||
PRIMARY KEY (maintid),
|
||||
FOREIGN KEY fk_maintenance_vessel (vid)
|
||||
REFERENCES vessel(vid)
|
||||
|
||||
Reference in new issue
Block a user