fix: gnu-cc, missing humidity table, restrict repository select
This commit is contained in:
@ -16,6 +16,7 @@ import (
|
||||
// Database is a general interface for a database backend like postgres, oracle
|
||||
// or sqlite
|
||||
type Database interface {
|
||||
Close() error
|
||||
DeleteDevices(ctx context.Context, deviceIDs ...string) error
|
||||
DeleteSensors(ctx context.Context, sensorIDs ...string) error
|
||||
InsertDevices(ctx context.Context, devices ...*types.Device) error
|
||||
@ -120,5 +121,4 @@ func New(dsnURL *url.URL, flogger logger.Logger) (Database, error) {
|
||||
}
|
||||
|
||||
return database, nil
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user