All first todos completed
This commit is contained in:
@@ -17,6 +17,7 @@ export class GlobalDeviceRepository {
|
||||
await db.insert(globalDevices).values({
|
||||
id,
|
||||
name: input.name,
|
||||
displayName: input.displayName,
|
||||
category: input.category ?? null,
|
||||
quantity: input.quantity,
|
||||
installedPowerPerUnitKw: input.installedPowerPerUnitKw,
|
||||
@@ -34,6 +35,7 @@ export class GlobalDeviceRepository {
|
||||
.update(globalDevices)
|
||||
.set({
|
||||
name: input.name,
|
||||
displayName: input.displayName,
|
||||
category: input.category ?? null,
|
||||
quantity: input.quantity,
|
||||
installedPowerPerUnitKw: input.installedPowerPerUnitKw,
|
||||
|
||||
Reference in New Issue
Block a user