Skip to content

Conversation

@kfrydel
Copy link
Contributor

@kfrydel kfrydel commented Jul 9, 2025

What type of PR is this?

  • Migration

Description

In commits fc1e1f7 and e44fcdb a new Selector option was added to alerts, which may be "first", "min" or "max". This migration sets the default to "first" for existing alerts.

How is this tested?

  • Manually
docker compose exec server ./manage.py db downgrade 9e8c841d1a30
docker compose exec server ./manage.py db upgrade

In commits fc1e1f7 and e44fcdb a new Selector option was added to
alerts, which may be "first", "min" or "max".  This migration sets the
default to "first" for existing alerts.
Copy link
Collaborator

@eradman eradman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed that this sets the selector key while preserving other options

@eradman eradman enabled auto-merge (squash) July 9, 2025 13:16
@eradman eradman merged commit df8be91 into getredash:master Jul 9, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants