SEED-platform / seed

Standard Energy Efficiency Data (SEED) Platform™ is a web-based application that helps organizations easily manage data on the energy performance of large groups of buildings.
Other
110 stars 55 forks source link

ESPM Imports Have Broken Source Types #4076

Closed axelstudios closed 1 year ago

axelstudios commented 1 year ago

Describe the bug The source_type column in the data_importer_importfile table incorrectly shows a tuple, and the wrong tuple at that: image

Worse yet, all ESPM imports in production have the wrong source_type, and it varies: image

Expected Behavior The value should be Portfolio Raw. Eventually we want to migrate this column to an unsigned type for enum strictness

Actual Behavior The value is the tuple for Assessed Raw

Steps to Reproduce Import a file from ESPM

nllong commented 1 year ago

No testing needed, database update only.