Skip to content

Commit

Permalink
add missing chp output field
Browse files Browse the repository at this point in the history
  • Loading branch information
adfarth committed Jan 5, 2023
1 parent cde31e3 commit 98736b2
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated by Django 4.0.7 on 2023-01-05 23:31

import django.contrib.postgres.fields
from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('job', '0019_rename_production_curtailed_series_kw_pvoutputs_electric_curtailed_series_kw_and_more'),
]

operations = [
migrations.AddField(
model_name='chpoutputs',
name='thermal_production_series_mmbtu_per_hour',
field=django.contrib.postgres.fields.ArrayField(base_field=models.FloatField(blank=True, null=True), default=list, size=None),
),
]
4 changes: 4 additions & 0 deletions job/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -3883,6 +3883,10 @@ class CHPOutputs(BaseModel, models.Model):
null=True, blank=True,
help_text="Present value of all CHP standby charges, after tax."
)
thermal_production_series_mmbtu_per_hour = ArrayField(
models.FloatField(null=True, blank=True),
default = list,
)

def clean():
pass
Expand Down

0 comments on commit 98736b2

Please sign in to comment.