Add device_type_id output as type_id

This commit is contained in:
Starbeamrainbowlabs 2019-03-14 12:50:43 +00:00
parent bca63f5659
commit dcdec686a4
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
3 changed files with 4 additions and 2 deletions

View file

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

View file

@ -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)

View file

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