Remove project device mirror fields

This commit is contained in:
2026-07-23 20:55:26 +02:00
parent 3fbf3ac622
commit 30d6f1a2e1
10 changed files with 1588 additions and 20 deletions
-6
View File
@@ -17,11 +17,5 @@ export const projectDevices = sqliteTable("project_devices", {
simultaneityFactor: real("simultaneity_factor").notNull().default(1),
cosPhi: real("cos_phi"),
remark: text("remark"),
// Transitional mirror columns retained until a dedicated schema cleanup migration removes them.
installedPowerPerUnitKw: real("installed_power_per_unit_kw").notNull(),
demandFactor: real("demand_factor").notNull(),
voltageV: real("voltage_v"),
phaseCount: integer("phase_count"),
powerFactor: real("power_factor"),
note: text("note"),
});