Database fixes and improvements
This commit is contained in:
+4
-2
@@ -22,6 +22,7 @@ INSERT INTO settings (userid, sno, valint) VALUES
|
||||
INSERT INTO settings (userid, sno, valstr) VALUES
|
||||
(-1, 1, 'vessel id'),
|
||||
(-1, 2, 'date format'),
|
||||
(-1, 3, 'user menu'),
|
||||
(-1, 10, 'rows in table'),
|
||||
(-1, 20, 'maximum image width'),
|
||||
(-1, 21, 'maximum image height'),
|
||||
@@ -52,7 +53,7 @@ INSERT INTO settings (userid, sno, valstr) VALUES
|
||||
(-1, 211, 'cable filter json'),
|
||||
(-1, 212, 'fuse filter json');
|
||||
|
||||
/* list of lists always needed */
|
||||
/* List of lists is always required */
|
||||
INSERT INTO dropdown (ddid, ddval, ddtext) VALUES
|
||||
(0, 0, 'list of lists'),
|
||||
(0, 1, 'hull type'),
|
||||
@@ -75,4 +76,5 @@ INSERT INTO dropdown (ddid, ddval, ddtext, flags) VALUES
|
||||
|
||||
INSERT INTO dropdown (ddid, ddval, ddtext, flags) VALUES
|
||||
(3, 0, 'Generic storage', 'fixed'),
|
||||
(3, 1, 'Tank', 'fixed');
|
||||
(3, 1, 'Tank', 'fixed'),
|
||||
(3, 2, 'External', 'fixed');
|
||||
|
||||
Reference in New Issue
Block a user