Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions src/sentry/migrations/1065_delete_customdynamicsamplingrule.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
from sentry.new_migrations.migrations import CheckedMigration
from sentry.new_migrations.monkey.models import SafeDeleteModel
from sentry.new_migrations.monkey.state import DeletionAction


class Migration(CheckedMigration):
is_post_deployment = False

dependencies = [
("sentry", "1064_eventattachment_date_expires_now"),
]

operations = [
SafeDeleteModel(
name="CustomDynamicSamplingRuleProject",
deletion_action=DeletionAction.DELETE,
),
SafeDeleteModel(
name="CustomDynamicSamplingRule",
deletion_action=DeletionAction.DELETE,
),
]
Loading