Markus Pesch
4931c63c10
changes: - Add postgres backend - Modified or added table attributes. UpdateDate, ForeignKeys, Booleans - Fix test for sqlite and postgres. Compare json instead the struct.
16 lines
282 B
SQL
16 lines
282 B
SQL
INSERT INTO sensors (
|
|
sensor_id,
|
|
sensor_name,
|
|
sensor_location,
|
|
wire_id,
|
|
i2c_bus,
|
|
i2c_address,
|
|
gpio_number,
|
|
sensor_model,
|
|
sensor_enabled,
|
|
tick_duration,
|
|
device_id,
|
|
creation_date,
|
|
update_date
|
|
)
|
|
VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13); |