Change the column type from varchar(255) to TEXT for nagios-plugins perfdata (#8322)

This commit is contained in:
Jason Ellison
2018-03-03 16:47:49 -06:00
committed by Neil Lathwood
parent 7b6e4f95c0
commit 84b0b32bd8
2 changed files with 2 additions and 1 deletions

View File

@ -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
View File

@ -0,0 +1 @@
ALTER TABLE `services` MODIFY `service_ds` TEXT NOT NULL;