assessment-model/src/app/db/migrations
Khalim Conn-Kowlessar 4fd1e00e63 perf(db): covering partial index for the reporting measures aggregate
The reporting 'where the money goes' panel joins the latest plan per
property to its recommendations ON plan_id, filters to the default active
set, and sums estimated_cost / counts property_id per measure_type. The
only plan_id index (idx_recommendation_plan_id) is plain, so the aggregate
heap-fetches every recommendation to apply the filter and read those
columns — hundreds of thousands of fetches on large portfolios (434),
which times the panel out.

idx_recommendation_plan_default carries plan_id + measure_type +
property_id + estimated_cost as key columns (drizzle-orm has no INCLUDE),
partial on default = true AND already_installed = false, so the aggregate
runs index-only. Added to the schema and generated via drizzle-kit.

OPS: build CONCURRENTLY out-of-band on prod before the migration runs so it
no-ops there (0258 pattern); the migration uses IF NOT EXISTS for fresh
environments. See the migration file header.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-08 11:52:35 +00:00
..
meta perf(db): covering partial index for the reporting measures aggregate 2026-07-08 11:52:35 +00:00
0000_magenta_clea.sql Got drizzle orm working 2023-07-10 17:48:37 +01:00
0001_fine_toad_men.sql Added create_user and also making users table schema changes 2023-07-10 19:14:06 +01:00
0002_hard_human_torch.sql Added create_user and also making users table schema changes 2023-07-10 19:14:06 +01:00
0003_past_gamora.sql commiting missing files 2023-07-11 21:14:36 +01:00
0004_panoramic_dark_phoenix.sql Added property tables 2023-07-31 14:48:06 +01:00
0005_nice_enchantress.sql setting up propertyTargets table 2023-07-31 15:05:46 +01:00
0006_square_justin_hammer.sql setting up propertyTargets table 2023-07-31 15:05:46 +01:00
0007_smart_tony_stark.sql Set up propertyTargets database 2023-07-31 15:09:22 +01:00
0008_young_pete_wisdom.sql rebuilding the property epc table with integer values 2023-08-01 10:58:55 +01:00
0009_ordinary_ulik.sql rebuilding the property epc table with integer values 2023-08-01 10:58:55 +01:00
0010_dizzy_thor.sql converting solar_pv column to numeric in db 2023-08-01 11:40:55 +01:00
0011_lethal_wrecker.sql converting solar hot water to boolean 2023-08-01 11:45:10 +01:00
0012_kind_wendigo.sql convert wind turbine column to small integer since it's a count 2023-08-01 11:48:06 +01:00
0013_lush_wild_child.sql Adding main fuel and main fuel rating to database 2023-08-01 11:52:15 +01:00
0014_cold_greymalkin.sql removing mainfuel rating column 2023-08-01 11:54:30 +01:00
0015_common_black_knight.sql Added building reference number to database 2023-08-01 14:56:59 +01:00
0016_condemned_rogue.sql adding default now values to createdAt, updatedAt records for property tables 2023-08-01 14:59:15 +01:00
0017_fixed_warlock.sql rebuilt database 2023-08-01 15:26:22 +01:00
0018_majestic_thaddeus_ross.sql rebuilt database 2023-08-01 15:26:22 +01:00
0019_certain_pepper_potts.sql converting uprn an building_reference_number to big integers 2023-08-01 15:47:09 +01:00
0020_busy_quentin_quire.sql converting serial types to bigserial 2023-08-01 15:59:26 +01:00
0021_eager_titanium_man.sql modified all int columns to big serial 2023-08-01 16:03:14 +01:00
0022_smiling_callisto.sql minor db migration 2023-08-02 10:28:13 +01:00
0023_mute_avengers.sql fixing login issue and converting types of ids 2023-08-02 11:01:24 +01:00
0024_clean_polaris.sql completed materials, recommendations and recommendationsMaterials migration 2023-08-10 11:53:37 +01:00
0025_illegal_psylocke.sql created new tables for plan and planRecommendations 2023-08-10 16:38:52 +01:00
0026_blue_randall.sql corrected inforrect column name 2023-08-10 17:35:38 +01:00
0027_shocking_scrambler.sql Added portfolioId to plan 2023-08-11 11:12:41 +01:00
0028_premium_elektra.sql Added missing starting u value 2023-08-11 12:18:54 +01:00
0029_handy_the_liberteens.sql added is_active to recommendation materials 2023-08-11 12:23:16 +01:00
0030_special_hydra.sql rmoving isActive from recMaterials 2023-08-11 12:30:29 +01:00
0031_complete_menace.sql Added depth to RecommendationsMaterials 2023-08-11 14:13:01 +01:00
0032_productive_vapor.sql Converting cost column in database to json 2023-08-14 12:13:24 +01:00
0033_overconfident_kat_farrell.sql Converting cost column in database to json 2023-08-14 12:13:24 +01:00
0034_wandering_nick_fury.sql Added isActive to materials table 2023-08-14 12:37:01 +01:00
0035_perfect_tenebrous.sql added property_id to plan table 2023-08-16 11:58:51 +01:00
0036_real_stryfe.sql Adding quantity, quantity_unit and estimated_cost to recommendationsMaterial table 2023-08-21 14:08:46 +01:00
0037_awesome_harry_osborn.sql changed quantity_unit value 2023-08-21 14:15:05 +01:00
0038_conscious_paper_doll.sql added cavity wall insulation as material type to db 2023-10-09 11:08:02 +08:00
0039_old_nuke.sql Added mechanical_ventilation as a material type 2023-10-18 16:36:54 +11:00
0040_dashing_giant_man.sql Added loft insulation as a new material type 2023-10-20 19:03:30 +11:00
0041_dapper_silver_surfer.sql Added loft insulation as a new material type 2023-10-20 19:03:30 +11:00
0042_past_shape.sql Added exposed floor insulation to materials table 2023-10-24 15:57:44 +08:00
0043_dear_lockheed.sql Added new material types to db 2023-11-17 14:41:09 +00:00
0044_huge_shocker.sql Add part as an option for unitQuantity 2023-11-20 14:30:54 +00:00
0045_happy_mister_sinister.sql Migrating database to add new columns for new materials 2023-11-23 16:46:30 +00:00
0046_lonely_jack_flag.sql Migrating database to add new columns for new materials 2023-11-23 16:46:30 +00:00
0047_curved_psynapse.sql multiple migrations on the materials table 2023-11-23 18:30:49 +00:00
0048_salty_katie_power.sql multiple migrations on the materials table 2023-11-23 18:30:49 +00:00
0049_bumpy_plazm.sql multiple migrations on the materials table 2023-11-23 18:30:49 +00:00
0050_clumsy_wind_dancer.sql formatting text in portfolio 2023-11-24 13:51:32 +00:00
0051_fat_callisto.sql Formatting portfolio page 2023-11-28 14:54:33 +00:00
0052_married_silver_sable.sql Added low energy lighting installation as a type to db 2023-11-28 16:50:05 +00:00
0053_reflective_virginia_dare.sql added adjusted energy to db 2023-11-29 00:34:06 +00:00
0054_sharp_mojo.sql Added reactive impact to plan page 2023-12-01 17:11:31 +00:00
0055_sour_overlord.sql Added new unit to materials table 2023-12-04 18:27:12 +00:00
0056_gray_owl.sql Added new material types for flat roof insulation to materials table 2023-12-04 18:31:51 +00:00
0057_flawless_amazoness.sql migration to fix spelling issue 2023-12-04 21:32:46 +00:00
0058_aromatic_valeria_richards.sql Added windows glazing material to db 2023-12-20 14:35:40 +00:00
0059_wonderful_sharon_carter.sql added estimated boolean to property details epc table 2024-01-04 08:56:56 +00:00
0060_dark_wilson_fisk.sql adjusted heat demand added to db 2024-02-16 12:53:48 +00:00
0061_little_doctor_faustus.sql Added valuation fields to db 2024-02-21 17:54:08 +00:00
0062_cute_zodiak.sql Added valuation fields to db 2024-02-21 17:54:08 +00:00
0063_elite_black_tarantula.sql Added different ui when a measure has been installed already 2024-04-14 16:41:36 +01:00
0064_icy_blue_shield.sql Added different ui when a measure has been installed already 2024-04-14 16:41:36 +01:00
0065_watery_korvac.sql Added different ui when a measure has been installed already 2024-04-14 16:41:36 +01:00
0066_eager_cerise.sql Added different ui when a measure has been installed already 2024-04-14 16:41:36 +01:00
0067_previous_sasquatch.sql Adding valuation uplift to roi 2024-04-16 00:02:42 +01:00
0068_demonic_roughhouse.sql Adding valuation uplift to roi 2024-04-16 00:02:42 +01:00
0069_rich_klaw.sql Added missing migrations 2024-06-26 16:07:09 +01:00
0070_sweet_riptide.sql changed adjusted heat demand to kwh savings 2024-07-09 23:21:03 +01:00
0071_same_puppet_master.sql Added solar schema 2024-07-10 10:26:27 +01:00
0072_plain_vapor.sql change name of api_reponse to solar_api_response in solar table 2024-07-10 10:43:59 +01:00
0073_youthful_havok.sql migrate uprn to big integer 2024-07-10 10:56:34 +01:00
0074_regular_blonde_phantom.sql Adding in new solar visuals wip 2024-07-10 20:12:04 +01:00
0075_even_phalanx.sql Added energy assessments table 2024-07-25 18:28:42 +01:00
0076_steep_whirlwind.sql migrating db to take survey data 2024-07-25 19:18:43 +01:00
0077_ambitious_salo.sql migrating db to take survey data 2024-07-25 19:18:43 +01:00
0078_chubby_marrow.sql added main_dwelling_ground_floor_area to db 2024-07-26 16:04:42 +01:00
0079_chemical_power_pack.sql added windows details to energy assessment data 2024-07-26 16:32:39 +01:00
0080_glossy_avengers.sql changed lodgment date to date 2024-07-29 17:45:07 +01:00
0081_nebulous_ezekiel.sql Adding new fields to plans table 2024-07-30 17:26:14 +01:00
0082_strong_gateway.sql Adding new fields to plans table 2024-07-30 17:26:14 +01:00
0083_harsh_eternals.sql altering plan table 2024-07-30 18:12:10 +01:00
0084_brief_wolf_cub.sql altering plan table 2024-07-30 18:12:10 +01:00
0085_nosy_gideon.sql revising fields on the scenario model 2024-07-30 18:32:32 +01:00
0086_happy_excalibur.sql Added isDefault 2024-07-30 21:40:10 +01:00
0087_nebulous_umar.sql Added isDefault 2024-07-30 21:40:10 +01:00
0088_many_tana_nile.sql adding missing data to scenario 2024-07-30 22:18:02 +01:00
0089_superb_johnny_blaze.sql migrated database to rename adjusted energy consumption to current energy demand 2024-08-13 17:23:54 +01:00
0090_youthful_silver_centurion.sql Adding energyAssessmentDocuments model 2024-09-04 10:12:44 +01:00
0091_fuzzy_doctor_spectrum.sql Created energy assessments documents table 2024-09-04 11:17:57 +01:00
0092_illegal_magma.sql added new document type 2024-09-04 15:13:21 +01:00
0093_blushing_dark_beast.sql Added Scenario Site notes to document type 2024-09-04 15:14:04 +01:00
0094_old_forge.sql added energy assessment scenarios 2024-09-04 15:55:34 +01:00
0095_sloppy_ikaris.sql fixed foreign key 2024-09-04 19:36:25 +01:00
0096_married_umar.sql Added new status type 2024-09-09 17:05:40 +01:00
0097_pale_demogoblin.sql adding energy cost figures to db 2024-10-03 09:57:55 +01:00
0098_grey_vector.sql added measure_type to bd 2024-10-03 11:01:42 +01:00
0099_faulty_nicolaos.sql adding cavity extraction to db 2025-03-16 15:27:17 +00:00
0100_wakeful_doctor_doom.sql Working on remote assessment modal ui 2025-06-13 11:57:49 +01:00
0101_bent_stature.sql added ashp cop to scenario db 2025-07-19 14:21:25 +01:00
0102_fresh_yellow_claw.sql adding new materials attributes to product db 2025-08-15 16:46:37 +00:00
0103_redundant_maddog.sql adding new materials attributes to product db 2025-08-15 16:46:37 +00:00
0104_awesome_james_howlett.sql adding new materials attributes to product db 2025-08-15 16:46:37 +00:00
0105_third_husk.sql adding new materials attributes to product db 2025-08-15 16:46:37 +00:00
0106_damp_tombstone.sql migrations added 2025-08-21 15:17:58 +00:00
0107_omniscient_molly_hayes.sql migrations added 2025-08-21 15:17:58 +00:00
0108_mighty_outlaw_kid.sql migrations added 2025-08-21 15:17:58 +00:00
0109_flashy_jane_foster.sql migrations added 2025-08-21 15:17:58 +00:00
0110_colossal_hulk.sql migrations added 2025-08-21 15:17:58 +00:00
0111_eminent_red_wolf.sql funding migrations 2025-08-21 17:44:37 +00:00
0112_colossal_nightshade.sql funding migrations 2025-08-21 17:44:37 +00:00
0113_bright_lady_bullseye.sql funding migrations 2025-08-21 17:44:37 +00:00
0114_swift_unicorn.sql migrations 2025-08-22 01:27:36 +00:00
0115_skinny_makkari.sql migrations 2025-08-22 01:27:36 +00:00
0116_spotty_leech.sql added new material types to bd 2025-09-28 14:35:42 +00:00
0117_colossal_bastion.sql working on sign in and onboarding 2025-10-13 08:52:34 +00:00
0118_lazy_gabe_jones.sql onboarding working 2025-10-15 19:07:10 +00:00
0119_marvelous_blur.sql add new migration 2025-10-17 14:26:21 +00:00
0120_flashy_puck.sql added migration scripts and ability to add a deal in hubspot@ 2025-10-22 15:44:00 +00:00
0121_chunky_tony_stark.sql ordnance survey working 2025-10-23 12:46:00 +00:00
0122_yielding_morlocks.sql added filtering + inspections to front end 2025-10-28 11:22:05 +00:00
0123_cloudy_gambit.sql added secondary glazing as material type to db 2025-10-28 14:09:36 +00:00
0124_mute_alice.sql sub tasks and task table added 2025-11-10 17:01:08 +00:00
0125_steady_thunderbolts.sql sub tasks and task table added 2025-11-10 17:01:08 +00:00
0126_third_hawkeye.sql make file upload possible for nick 2025-11-11 20:20:18 +00:00
0127_acoustic_sleepwalker.sql drizzle migration 2025-11-25 12:03:10 +00:00
0128_thin_wiccan.sql created new tables for epc data store and installed measures 2025-11-25 13:35:27 +00:00
0129_workable_medusa.sql removed default requirements from epc caching db" 2025-11-25 13:38:59 +00:00
0130_large_wong.sql removed default requirements from epc caching db" 2025-11-25 13:38:59 +00:00
0131_minor_lucky_pierre.sql added new type 2025-11-26 21:09:27 +00:00
0132_cynical_ikaris.sql added sap05 overwritten to database 2025-11-29 07:37:20 +00:00
0133_calm_talkback.sql adding boiler upgrade enum 2025-11-29 07:59:37 +00:00
0134_lying_lester.sql completed migration 2025-12-04 22:10:51 +00:00
0135_lovely_spectrum.sql Implemented total cost and contingency 2025-12-08 22:42:46 +00:00
0136_boring_charles_xavier.sql Added recommendations index 2025-12-10 20:15:25 +00:00
0137_shallow_speedball.sql added index on recommendations materials 2025-12-10 21:14:44 +00:00
0138_neat_havok.sql Added index to ensure combinations of uprn and portfolio id remain unique 2025-12-21 12:36:49 +00:00
0139_skinny_legion.sql making uprn unique on epc store 2025-12-21 12:55:24 +00:00
0140_keen_dreaming_celestial.sql added uniqueness constraints to property details epc and spatial 2025-12-22 07:44:28 +00:00
0141_amazing_harry_osborn.sql Added indexing for plans and plan recommendations 2026-01-05 13:34:43 +00:00
0142_serious_whirlwind.sql making db migrations to improve performance 2026-01-06 13:09:32 +00:00
0143_magenta_magus.sql making db migrations to improve performance 2026-01-06 13:09:32 +00:00
0144_lovely_moira_mactaggert.sql making db migrations to improve performance 2026-01-06 13:09:32 +00:00
0145_brave_power_pack.sql adding already installed table 2026-01-07 19:33:56 +00:00
0146_tiny_george_stacy.sql adding already installed table 2026-01-07 19:33:56 +00:00
0147_confused_killer_shrike.sql adding already installed table 2026-01-07 19:33:56 +00:00
0148_first_gamma_corps.sql handling already installed measures - updated ui and adding handling for installed measures 2026-01-07 22:17:45 +00:00
0149_rich_luminals.sql migration 2026-01-28 10:51:52 +00:00
0150_green_switch.sql added cascading delete 2026-02-22 10:05:17 +00:00
0151_regular_lila_cheney.sql added cascading delete 2026-02-22 10:05:17 +00:00
0152_sparkling_kat_farrell.sql added cascading delete 2026-02-22 10:05:17 +00:00
0153_large_machine_man.sql modified cascade from planrecommendations 2026-02-22 10:57:16 +00:00
0154_workable_stingray.sql migration script 2026-02-27 12:19:01 +00:00
0155_calm_hydra.sql add last updated script to db 2026-03-04 15:23:30 +00:00
0156_long_kitty_pryde.sql added new fields to db 2026-03-18 12:53:26 +00:00
0157_cynical_serpent_society.sql added missing mgration files 2026-03-23 12:28:04 +00:00
0158_ancient_colleen_wing.sql migration files 2026-03-26 15:19:12 +00:00
0159_sad_molly_hayes.sql added new deal properties 2026-03-31 13:51:24 +00:00
0160_slimy_polaris.sql added two new files i forgot to add 2026-03-31 15:25:21 +00:00
0161_fresh_taskmaster.sql confirmed surveyed date added 2026-04-01 11:08:50 +00:00
0162_powerful_paladin.sql added design type 2026-04-01 11:11:05 +00:00
0163_cultured_madripoor.sql added damp and mould to table 2026-04-02 09:47:39 +00:00
0164_high_sumo.sql added migration files 2026-04-04 13:40:33 +00:00
0165_small_khan.sql migration generate 2026-04-07 16:05:49 +00:00
0166_melodic_crusher_hogan.sql adding rc_comments 2026-04-08 14:33:16 +00:00
0167_wise_agent_zero.sql added envronment impact to db 2026-04-09 15:20:40 +00:00
0168_romantic_kronos.sql add "ecmk_survey_xml" to uploaded file types 2026-04-15 09:53:59 +00:00
0169_freezing_moonstone.sql migration to add hubspot deal id to uploaded_files 2026-04-16 15:04:43 +00:00
0170_furry_moonstone.sql uplaod 2026-04-16 16:59:30 +00:00
0171_chunky_wallow.sql db migration 2026-04-16 17:41:55 +00:00
0172_kind_eddie_brock.sql added migration artefacts 2026-04-16 21:23:34 +00:00
0173_neat_bastion.sql migrated db and building out upload doc ui and approval log 2026-04-17 00:01:08 +00:00
0174_bulk_upload_task_id.sql trigger address2uprn 2026-04-17 14:05:03 +00:00
0175_sweet_otto_octavius.sql trigger address2uprn 2026-04-17 14:05:03 +00:00
0176_bulk_upload_combined_output.sql push migration for khalim 2026-04-17 19:30:35 +00:00
0177_wooden_dexter_bennett.sql push migration for khalim 2026-04-17 19:30:35 +00:00
0178_parched_midnight.sql added migrations 2026-04-17 21:03:10 +00:00
0180_ambitious_jane_foster.sql added in addition requests 2026-04-20 11:14:52 +00:00
0180_removal_request_type.sql added in addition requests 2026-04-20 11:14:52 +00:00
0181_concerned_electro.sql added more db fields 2026-04-20 15:09:48 +00:00
0181_removal_request_original_batch.sql adding batch push up when removal requests are made 2026-04-20 12:21:00 +00:00
0182_messy_calypso.sql more hubspot deal data 2026-04-20 15:40:59 +00:00
0183_careless_darkhawk.sql added property data 2026-04-23 13:10:07 +00:00
0184_tiny_annihilus.sql migration 2026-04-23 16:52:07 +00:00
0185_slimy_mindworm.sql migration 2026-04-24 10:31:04 +00:00
0186_equal_baron_zemo.sql migration 2026-04-24 11:05:12 +00:00
0187_mean_salo.sql make previous migration files in line with db 2026-04-28 08:15:54 +00:00
0188_wild_morph.sql missing migration files 2026-04-28 08:16:56 +00:00
0189_high_leech.sql add new fk column uploaded_file_id 2026-04-28 16:08:31 +00:00
0190_worried_drax.sql make column unique 2026-04-28 16:11:33 +00:00
0191_soft_ezekiel_stane.sql added additional fields to the db 2026-04-30 17:01:51 +01:00
0192_colorful_quasimodo.sql added hubspot user table 2026-04-30 19:16:35 +00:00
0193_domna_survey_type.sql updating live tracking new features UI 2026-05-05 20:43:19 +00:00
0194_user_defined_deal_measures.sql add user_defined_deal_measures table migration and schema 2026-05-05 18:56:09 +00:00
0195_jittery_harry_osborn.sql corrected migration files 2026-05-06 15:21:02 +00:00
0196_fantastic_bastion.sql adding migration files for pm changes 2026-05-07 09:08:11 +00:00
0197_bumpy_firebird.sql adding index to allow multiple organidations to be mapped to a project 2026-05-07 17:06:40 +00:00
0198_panoramic_triathlon.sql add schema files and migration 0198 for magic_plan_uid 2026-05-07 18:13:17 +00:00
0199_rich_mandroid.sql migration files 2026-05-08 14:15:39 +00:00
0200_new_beast.sql add migration files 2026-05-12 15:42:27 +00:00
0201_known_sebastian_shaw.sql added enum from hubspot source 2026-05-12 16:18:42 +00:00
0202_furry_mister_sinister.sql migration files 2026-05-13 10:03:43 +00:00
0203_kind_spyke.sql migration files 2026-05-13 13:51:26 +00:00
0204_bizarre_black_bird.sql migration files 2026-05-18 08:23:38 +00:00
0205_wonderful_pixie.sql some comments to understand the sql more 2026-05-26 10:25:42 +00:00
0206_tense_raza.sql new wall types 2026-05-26 14:32:57 +00:00
0207_flat_white_queen.sql built type 2026-05-26 15:04:02 +00:00
0208_noisy_arclight.sql roof 2026-05-26 16:07:26 +00:00
0209_third_klaw.sql additional batches 2026-05-27 10:28:19 +00:00
0210_absent_dark_phoenix.sql Add 6-digit code sign-in as primary, magic link as fast-path fallback 2026-05-27 14:16:47 +00:00
0211_lovely_sue_storm.sql project db addition and live tracker update 2026-05-27 16:27:48 +00:00
0212_sweet_the_anarchist.sql Added database migration files 2026-05-27 16:54:58 +00:00
0213_tired_victor_mancha.sql migration table 2026-05-27 19:19:39 +00:00
0214_superb_maelstrom.sql booking status 2026-05-28 12:01:22 +00:00
0215_invert_column_mapping.sql Add landlord-override DB migrations (0215 data + 0216 schema) 2026-05-29 09:50:03 +00:00
0216_add_subtask_service.sql Add landlord-override DB migrations (0215 data + 0216 schema) 2026-05-29 09:50:03 +00:00
0217_gray_hellion.sql Add multi_entry_summary column to bulk_address_uploads 2026-06-02 12:43:50 +00:00
0218_natural_umar.sql Add multi_entry_ordering column to bulk_address_uploads 2026-06-02 13:53:05 +00:00
0219_add_verify_ack.sql Add verify_ack column to bulk_address_uploads (0219) 2026-06-02 17:54:01 +00:00
0220_round_retro_girl.sql new migration files 2026-06-03 12:55:49 +00:00
0221_nice_sumo.sql Add property_overrides table + override_component enum (0221) 2026-06-04 09:52:37 +00:00
0222_nifty_hellcat.sql Make recommendation denormalisation backfill safe and online 2026-06-08 08:36:39 +00:00
0223_recommendation_plan_id_backfill.sql Make recommendation denormalisation backfill safe and online 2026-06-08 08:36:39 +00:00
0224_busy_nitro.sql Make recommendation denormalisation backfill safe and online 2026-06-08 08:36:39 +00:00
0225_recommendation_material_id_backfill.sql Make recommendation denormalisation backfill safe and online 2026-06-08 08:36:39 +00:00
0226_massive_guardian.sql new tables for magicplan ventilation. move opening type from window table to window ventilation table 2026-06-08 09:25:16 +00:00
0227_magic_plan_window_ventilation_backfill.sql new tables for magicplan ventilation. move opening type from window table to window ventilation table 2026-06-08 09:25:16 +00:00
0228_deep_betty_ross.sql new tables for magicplan ventilation. move opening type from window table to window ventilation table 2026-06-08 09:25:16 +00:00
0229_lively_kree.sql new table for new deal proeprties we want 2026-06-08 14:42:50 +00:00
0230_wet_epoch.sql migration files 2026-06-09 13:57:31 +00:00
0231_bright_loners.sql migration files 2026-06-10 14:25:37 +00:00
0232_wet_lifeguard.sql migration 2026-06-15 08:52:41 +00:00
0233_abnormal_george_stacy.sql migration 2026-06-15 08:59:46 +00:00
0234_old_rachel_grey.sql feat(db): add epc_property.source for predicted-EPC slot (ADR-0031) 2026-06-16 13:46:19 +00:00
0235_orange_pixie.sql db changes 2026-06-19 15:04:43 +00:00
0236_overrated_human_cannonball.sql db changes 2026-06-19 15:04:43 +00:00
0237_youthful_mulholland_black.sql db changes 2026-06-19 15:04:43 +00:00
0238_awesome_kylun.sql db changes 2026-06-19 15:04:43 +00:00
0239_bumpy_blob.sql db changes 2026-06-19 15:04:43 +00:00
0240_petite_jamie_braddock.sql db changes 2026-06-19 15:04:43 +00:00
0241_rainy_sway.sql migration files 2026-06-22 13:03:20 +00:00
0242_green_meggan.sql migration files 2026-06-24 13:52:46 +00:00
0243_oval_pestilence.sql SQL correction 2026-06-24 15:06:43 +00:00
0244_unknown_puck.sql feat(db): add property.marked_for_deletion soft-delete flag 2026-06-25 12:18:32 +00:00
0245_magenta_nomad.sql feat(epc): persist PV arrays and floor heat-loss flags 2026-06-26 16:38:36 +00:00
0246_minor_lady_bullseye.sql feat(epc): persist 7 calculator-read fields dropped on save 2026-06-26 18:34:45 +00:00
0247_glorious_darkhawk.sql Add partial index on material(is_active) for the catalogue read 2026-06-29 11:53:19 +00:00
0248_optimal_bulldozer.sql migration files 2026-07-01 07:24:19 +00:00
0249_rare_lightspeed.sql migration files 2026-07-01 07:42:14 +00:00
0250_lonely_mordo.sql migration files 2026-07-01 11:00:30 +00:00
0251_round_madame_hydra.sql migration files 2026-07-01 12:09:14 +00:00
0252_sharp_shadowcat.sql migration files 2026-07-01 14:08:01 +00:00
0253_empty_hardball.sql migration files 2026-07-01 14:22:16 +00:00
0254_calm_marvel_boy.sql migration files 2026-07-01 14:44:05 +00:00
0255_futuristic_mattie_franklin.sql migration files 2026-07-02 08:47:01 +00:00
0256_glazing_secondary.sql Add 'Secondary glazing' to the glazing pgEnum 2026-07-02 10:55:36 +00:00
0257_low_songbird.sql amend migration files 2026-07-02 13:48:46 +00:00
0258_plan_recommendations_rec_id_index.sql Add journal-tracked migration 0258 for the recommendation_id index 2026-07-02 16:30:42 +00:00
0259_fantastic_rockslide.sql migration files 2026-07-03 10:38:25 +00:00
0260_natural_enchantress.sql feat(db): add os_places to override_source enum 2026-07-06 13:46:33 +00:00
0261_fixed_excalibur.sql migration files 2026-07-06 15:46:41 +00:00
0262_wandering_nocturne.sql feat(db): add inputs column to tasks 2026-07-07 10:31:11 +00:00
0263_add_property_certificate_number.sql Add certificate_number column to property table 2026-07-07 11:50:59 +00:00
0264_yummy_master_chief.sql feat(db): add user_portfolio_config and user_portfolio_folders tables 2026-07-07 13:23:15 +00:00
0265_uprn_corrections.sql Merge branch 'main' of https://github.com/Hestia-Homes/assessment-model into feature/uprn-confirmation-page 2026-07-07 17:53:42 +00:00
0266_hesitant_bromley.sql perf(db): covering partial index for the reporting measures aggregate 2026-07-08 11:52:35 +00:00
2026_01_06_recommendation_cover.sql trying to ooptimise the measures table 2026-01-06 16:09:26 +00:00