mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Updated graph_types table so graph_subtype has no default value (#7285)
* fix: Updated graph_types table so graph_subtype has no default value * added schema update
This commit is contained in:
committed by
Tony Murray
parent
edae33507a
commit
c16ca70c71
@@ -571,7 +571,7 @@ graph_types:
|
||||
graph_descr: { Field: graph_descr, Type: varchar(255), 'Null': true, Default: 'NULL', Extra: '' }
|
||||
graph_order: { Field: graph_order, Type: int(11), 'Null': false, Default: 'NULL', Extra: '' }
|
||||
graph_section: { Field: graph_section, Type: varchar(32), 'Null': false, Default: 'NULL', Extra: '' }
|
||||
graph_subtype: { Field: graph_subtype, Type: varchar(64), 'Null': false, Default: '', Extra: '' }
|
||||
graph_subtype: { Field: graph_subtype, Type: varchar(64), 'Null': false, Default: 'NULL', Extra: '' }
|
||||
graph_type: { Field: graph_type, Type: varchar(32), 'Null': false, Default: 'NULL', Extra: '' }
|
||||
Indexes:
|
||||
PRIMARY: { Name: PRIMARY, Columns: [graph_type, graph_subtype, graph_section], Unique: true, Type: BTREE }
|
||||
|
1
sql-schema/206.sql
Normal file
1
sql-schema/206.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE `graph_types` CHANGE `graph_subtype` `graph_subtype` varchar(64) NOT NULL;
|
Reference in New Issue
Block a user