Skip to content

Commit

Permalink
Fix migration
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Nov 24, 2023
1 parent 11c2214 commit cd3cfa3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/sentry/migrations/0607_drop_externalactor_actorid.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ class Migration(CheckedMigration):
operations = [
migrations.SeparateDatabaseAndState(
state_operations=[],
database_operations=[migrations.RemoveField(model_name="externalactor", name="actor")],
database_operations=[
migrations.RunSQL(
"""
ALTER TABLE "sentry_externalactor" DROP COLUMN actor_id;
""",
hints={"tables": ["sentry_externalactor"]},
)
],
)
]

0 comments on commit cd3cfa3

Please sign in to comment.