Skip to content

Commit

Permalink
Fix multiple migration heads (#71)
Browse files Browse the repository at this point in the history
* add support for differing capacities

* format and lint

* explicitely specify new column name

* add back capacity_kw column

* add trigger to set default value of inverter_capacity_kw to capacity_kw

* change down_revision to fix multiple heads

* fix comment
  • Loading branch information
ericcccsliu authored Apr 24, 2023
1 parent 0f600aa commit eb3dce9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Add support for differing inverter and module capacities
Revision ID: 8384de6b7c50
Revises: aeea08bcfc42
Revises: 35f53a88b8c3
Create Date: 2023-04-08 12:26:23.042938
"""
Expand All @@ -11,7 +11,7 @@

# revision identifiers, used by Alembic.
revision = '8384de6b7c50'
down_revision = 'aeea08bcfc42'
down_revision = '35f53a88b8c3'
branch_labels = None
depends_on = None

Expand Down

0 comments on commit eb3dce9

Please sign in to comment.