mirror of
https://github.com/michivonah/bbzw-horizon.git
synced 2025-12-22 17:16:27 +01:00
add script to change data type of pressure
This commit is contained in:
parent
12a1dcfa2d
commit
d629882c32
1 changed files with 3 additions and 0 deletions
3
db/change_pressure_datatype.sql
Normal file
3
db/change_pressure_datatype.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
ALTER TABLE sensor_data ALTER COLUMN pressure TYPE DECIMAL(7, 3);
|
||||||
|
|
||||||
|
SELECT * FROM sensor_data;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue