Skip to content

Commit

Permalink
Add a reminder to setup an enum for the data_source types
Browse files Browse the repository at this point in the history
  • Loading branch information
saponifi3d committed Dec 13, 2024
1 parent c02e041 commit 67be3f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sentry/workflow_engine/models/data_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ class DataSource(DefaultFieldsModel):

organization = FlexibleForeignKey("sentry.Organization")
query_id = BoundedBigIntegerField()

# TODO - Add a type here
type = models.TextField()

detectors = models.ManyToManyField("workflow_engine.Detector", through=DataSourceDetector)
Expand Down

0 comments on commit 67be3f2

Please sign in to comment.