markus
366dccde12
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.
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); |