mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-07-19 17:02:59 +00:00
Merge pull request #340 from Hestia-Homes/rename-energy-column
Rename energyMainsGas to energyGasConnectionAvailable
This commit is contained in:
commit
ea4fee27d9
4 changed files with 11691 additions and 1 deletions
1
src/app/db/migrations/0252_sharp_shadowcat.sql
Normal file
1
src/app/db/migrations/0252_sharp_shadowcat.sql
Normal file
|
|
@ -0,0 +1 @@
|
|||
ALTER TABLE "epc_property" RENAME COLUMN "energy_mains_gas" TO "energy_gas_connection_available";
|
||||
11682
src/app/db/migrations/meta/0252_snapshot.json
Normal file
11682
src/app/db/migrations/meta/0252_snapshot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1758,6 +1758,13 @@
|
|||
"when": 1782907745796,
|
||||
"tag": "0251_round_madame_hydra",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 252,
|
||||
"version": "7",
|
||||
"when": 1782914873480,
|
||||
"tag": "0252_sharp_shadowcat",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -526,7 +526,7 @@ export const epcProperty = pgTable(
|
|||
windowsTransmissionSolarTransmittance: real("windows_transmission_solar_transmittance"),
|
||||
|
||||
// Energy source
|
||||
energyMainsGas: boolean("energy_mains_gas").notNull(),
|
||||
energyGasConnectionAvailable: boolean("energy_gas_connection_available").notNull(),
|
||||
energyMeterType: text("energy_meter_type").notNull(),
|
||||
energyPvBatteryCount: integer("energy_pv_battery_count").notNull(),
|
||||
energyWindTurbinesCount: integer("energy_wind_turbines_count").notNull(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue