Skip to content

Commit

Permalink
fix: lng end use type text
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-hashimoto committed Dec 21, 2024
1 parent ec4fba4 commit 4735230
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
"""LNG end use naming change
Revision ID: 5fbcb508c1be
Revises: 59873cafbcd8
Create Date: 2024-12-21 00:18:12.324520
"""

import sqlalchemy as sa
from alembic import op

# revision identifiers, used by Alembic.
revision = "5fbcb508c1be"
down_revision = "59873cafbcd8"
branch_labels = None
depends_on = None


def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.execute(
"""
UPDATE end_use_type
SET type = 'Compression-ignition engine- Marine, with methane slip reduction kit- Operated within 26 to 75% of load range'
WHERE end_use_type_id = 19
"""
)
# ### end Alembic commands ###


def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.execute(
"""
UPDATE end_use_type
SET type = 'Compression-ignition engine- Marine, with methane slip reduction kit- Operated within 51 to 75% of load range'
WHERE end_use_type_id = 19
"""
)
# ### end Alembic commands ###
2 changes: 1 addition & 1 deletion backend/lcfs/db/seeders/common/seed_fuel_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@
},
{
"end_use_type_id": 19,
"type": "Compression-ignition engine- Marine, with methane slip reduction kit- Operated within 51 to 75% of load range",
"type": "Compression-ignition engine- Marine, with methane slip reduction kit- Operated within 26 to 75% of load range",
"intended_use": true
},
{
Expand Down

0 comments on commit 4735230

Please sign in to comment.