Skip to content

Commit

Permalink
EAS-2493 Remove deprecated Template fields (#175)
Browse files Browse the repository at this point in the history
* initial cull of deprecated params to classes & methods

* fix tests and column constraints

* fix migration file conflict

* fix template test

* fix tests to work with reduced permission set

* fix tests to work with reduced permission set

* fix permissions on tests

* fix tests

* fix config for migrations to work

* remove commented-out code

* remove commented-out code

* remove references to unused var

* add migration file to remove deprecated org fields

* add migration file to remove deprecated service fields

* add migration file to remove deprecated template fields

* remove org columns

* remove duplicated test

* black reformat

* remove deprecated service permissions

* fix merge error
  • Loading branch information
jonathan-owens-gds authored Dec 9, 2024
1 parent baabf93 commit 1788cba
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions migrations/versions/0407_drop_notify_template_fields.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
"""
Revision ID: 0407_drop_notify_template_fields
Revises: 0406_drop_notify_service_fields
Create Date: 2024-10-30 16:56:00
"""

from alembic import op

revision = "0407_drop_notify_template_fields"
down_revision = "0406_drop_notify_service_fields"


def upgrade():
op.drop_column("templates", "process_type")
op.drop_column("templates", "hidden")
op.drop_column("templates", "postage")

op.drop_column("templates_history", "process_type")
op.drop_column("templates_history", "hidden")
op.drop_column("templates_history", "postage")

op.drop_table("template_process_type")


def downgrade():
pass

0 comments on commit 1788cba

Please sign in to comment.