librenms/LibreNMS/DB
Tony Murray 7d450345df
Fix sensor state translations (#16393)
* Fix sensor state translations

* Fix up lint/style

* Set state_index_id

* Apply fixes from StyleCI

* Wrong call

* just use a loop

* Wrong id column

* Missing fillable

* Handle sensors missing state translations

* Before making a state index

* Can't map to a state index if it doesn't exist

* Apply fixes from StyleCI

* ies5000 overflowing tinyint

* Accept state translations directly add that in the translation

* handle duplicate state names, but with different case (skip no way to work there)

* Apply fixes from StyleCI

* Fix type stuffs

---------

Co-authored-by: Tony Murray <murrant@users.noreply.github.com>
2024-09-15 02:13:11 +02:00
..
Eloquent.php Laravel 10.x Shift (#14995) 2023-05-24 22:21:54 +02:00
Schema.php Use Laravel schema migration command directly (#14039) 2023-08-03 19:26:48 -05:00
SyncsModels.php Fix sensor state translations (#16393) 2024-09-15 02:13:11 +02:00