PKGBUILD/pkg/repository/db/postgres/dml/updateDevice.sql
markus 366dccde12
fix: use go-migrate pkg to init or update db schema
Instead to implement own logic how the database scheme should be updated
or migrated to a newer or older version flucky use now instead the
go-migrate package.
2021-01-30 15:44:21 +01: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