Add device_type_id output as type_id

pull/26/head
Starbeamrainbowlabs 4 years ago
parent bca63f5659
commit dcdec686a4
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 1
      Changelog.md
  2. 3
      logic/Repositories/MariaDBDeviceRepository.php
  3. 2
      version

@ -2,6 +2,7 @@
## v0.5.4 - 14th March 2019
- [API] Added device altitude information to `list-devices` and `device-info` actions
- [API] Added device type id property to `list-devices` action
## v0.5.3 - 7th March 2019
- Tweak x axis labels

@ -53,7 +53,8 @@ class MariaDBDeviceRepository implements IDeviceRepository {
{$s("column_device_name")} AS name,
{$s("column_lat")} AS latitude,
{$s("column_long")} AS longitude,
{$s("column_altitude")} AS altitude
{$s("column_altitude")} AS altitude,
{$s("column_device_type")} AS type_id
FROM {$s("table_name")}";
if($only_with_location)

@ -1 +1 @@
v0.5.4
v0.5.4.1

Loading…
Cancel
Save