From 67be3f2c08fe097f24fcfc3ff11129e1edd81afd Mon Sep 17 00:00:00 2001 From: Josh Callender <1569818+saponifi3d@users.noreply.github.com> Date: Wed, 11 Dec 2024 12:39:41 -0800 Subject: [PATCH] Add a reminder to setup an enum for the data_source types --- src/sentry/workflow_engine/models/data_source.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sentry/workflow_engine/models/data_source.py b/src/sentry/workflow_engine/models/data_source.py index ebfbc63fd18f14..66ca563e9c9edc 100644 --- a/src/sentry/workflow_engine/models/data_source.py +++ b/src/sentry/workflow_engine/models/data_source.py @@ -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)