mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Change the column type from varchar(255) to TEXT for nagios-plugins perfdata (#8322)
This commit is contained in:
committed by
Neil Lathwood
parent
7b6e4f95c0
commit
84b0b32bd8
@ -1395,7 +1395,7 @@ services:
|
||||
- { Field: service_changed, Type: int(11), 'Null': false, Extra: '', Default: '0' }
|
||||
- { Field: service_message, Type: text, 'Null': false, Extra: '' }
|
||||
- { Field: service_disabled, Type: tinyint(1), 'Null': false, Extra: '', Default: '0' }
|
||||
- { Field: service_ds, Type: varchar(255), 'Null': false, Extra: '' }
|
||||
- { Field: service_ds, Type: text, 'Null': false, Extra: '' }
|
||||
Indexes:
|
||||
PRIMARY: { Name: PRIMARY, Columns: [service_id], Unique: true, Type: BTREE }
|
||||
service_host: { Name: service_host, Columns: [device_id], Unique: false, Type: BTREE }
|
||||
|
1
sql-schema/239.sql
Normal file
1
sql-schema/239.sql
Normal file
@ -0,0 +1 @@
|
||||
ALTER TABLE `services` MODIFY `service_ds` TEXT NOT NULL;
|
Reference in New Issue
Block a user