Skip to content

Commit 99be5d6

Browse files
committed
Add missing migration file
1 parent 128faf8 commit 99be5d6

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Generated by Django 4.2.4 on 2025-10-31 12:22
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
("dashboard", "0004_new_result_model"),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name="reportitem",
15+
name="report_type",
16+
field=models.CharField(
17+
choices=[
18+
("timeseries", "Timeseries graph"),
19+
("timeseries_stacked", "Stacked timeseries graph"),
20+
("capacities", "Installed and optimized capacities"),
21+
("bar", "Bar chart"),
22+
("costs", "Cost breakdown"),
23+
("pie", "Pie chart"),
24+
("load_duration", "Load duration curve"),
25+
("sankey", "Sankey diagram"),
26+
],
27+
max_length=50,
28+
),
29+
),
30+
migrations.AlterField(
31+
model_name="sensitivityanalysisgraph",
32+
name="y",
33+
field=models.CharField(
34+
choices=[
35+
("annual_total_flow", "Aggregated flow"),
36+
(
37+
"annuity_om",
38+
"Annual operation, maintenance and dispatch expenses",
39+
),
40+
("annuity_total", "Annuity"),
41+
("average_flow", "Average flow"),
42+
("costs_cost_om", "Operation and maintenance costs"),
43+
("costs_dispatch", "Dispatch costs"),
44+
("costs_investment_over_lifetime", "Investment costs"),
45+
("flow", "Dispatch of an asset"),
46+
(
47+
"levelized_cost_of_energy_of_asset",
48+
"Levelized cost of throughput",
49+
),
50+
("optimizedAddCap", "Optimal additional capacity"),
51+
("peak_flow", "Peak flow"),
52+
("replacement_costs_during_project_lifetime", "Replacement costs"),
53+
],
54+
max_length=50,
55+
),
56+
),
57+
]

0 commit comments

Comments
 (0)