diff --git a/misc/db_schema.yaml b/misc/db_schema.yaml index 0499d30420e1..52d65ce19d39 100644 --- a/misc/db_schema.yaml +++ b/misc/db_schema.yaml @@ -463,7 +463,7 @@ devices: - { Field: last_discovered_timetaken, Type: 'double(5,2)', 'Null': true, Extra: '' } - { Field: last_discovered, Type: timestamp, 'Null': true, Extra: '' } - { Field: last_ping, Type: timestamp, 'Null': true, Extra: '' } - - { Field: last_ping_timetaken, Type: 'double(5,2)', 'Null': true, Extra: '' } + - { Field: last_ping_timetaken, Type: 'double(8,2)', 'Null': true, Extra: '' } - { Field: purpose, Type: text, 'Null': true, Extra: '' } - { Field: type, Type: varchar(20), 'Null': false, Extra: '', Default: '' } - { Field: serial, Type: text, 'Null': true, Extra: '' } diff --git a/sql-schema/265.sql b/sql-schema/265.sql new file mode 100644 index 000000000000..21368cb80404 --- /dev/null +++ b/sql-schema/265.sql @@ -0,0 +1 @@ +ALTER TABLE `devices` CHANGE `last_ping_timetaken` `last_ping_timetaken` double(8,2) NULL;