Skip to content

Commit

Permalink
Make process type nullable true (#2217)
Browse files Browse the repository at this point in the history
* make process type nullable true

* fix

* fix

* fix

* try

* fix
  • Loading branch information
jzbahrai authored Jul 11, 2024
1 parent 9c98020 commit 4716bdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,7 @@ class Config(object):
FF_CELERY_CUSTOM_TASK_PARAMS = env.bool("FF_CELERY_CUSTOM_TASK_PARAMS", True)
FF_CLOUDWATCH_METRICS_ENABLED = env.bool("FF_CLOUDWATCH_METRICS_ENABLED", False)
FF_SALESFORCE_CONTACT = env.bool("FF_SALESFORCE_CONTACT", False)
FF_TEMPLATE_CATEGORY = env.bool("FF_TEMPLATE_CATEGORY", False)

# SRE Tools auth keys
SRE_USER_NAME = "SRE_CLIENT_USER"
Expand Down
2 changes: 1 addition & 1 deletion app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ def process_type(cls):
db.String(255),
db.ForeignKey("template_process_type.name"),
index=True,
nullable=False,
nullable=True,
default=NORMAL,
)

Expand Down

0 comments on commit 4716bdc

Please sign in to comment.