PKGBUILD/pkg/repository/db/sqlite3/updateDevice.sql
Markus Pesch 4931c63c10
fix: add postgres backend
changes:
- Add postgres backend
- Modified or added table attributes.
  UpdateDate, ForeignKeys, Booleans
- Fix test for sqlite and postgres. Compare json instead the struct.
2020-06-01 22:50:05 +02:00

8 lines
126 B
SQL

UPDATE devices
SET
device_name = $1,
device_location = $2,
creation_date = $3,
update_date = $4
WHERE
device_id = $5