All checks were successful
PostgreSQL Compatibility Matrix / PG14 smoke (push) Successful in 7s
PostgreSQL Compatibility Matrix / PG15 smoke (push) Successful in 7s
PostgreSQL Compatibility Matrix / PG16 smoke (push) Successful in 7s
PostgreSQL Compatibility Matrix / PG17 smoke (push) Successful in 6s
PostgreSQL Compatibility Matrix / PG18 smoke (push) Successful in 6s
Introduced a new optional "from_name" attribute to email settings, allowing customization of the sender's display name in outgoing emails. Updated backend models, APIs, and front-end components to include and handle this field properly. This enhances email clarity and personalization for users.
24 lines
512 B
Python
24 lines
512 B
Python
"""add from_name to email settings
|
|
|
|
Revision ID: 0006_email_from_name
|
|
Revises: 0005_target_owners
|
|
Create Date: 2026-02-12
|
|
"""
|
|
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
revision = "0006_email_from_name"
|
|
down_revision = "0005_target_owners"
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade() -> None:
|
|
op.add_column("email_notification_settings", sa.Column("from_name", sa.String(length=255), nullable=True))
|
|
|
|
|
|
def downgrade() -> None:
|
|
op.drop_column("email_notification_settings", "from_name")
|