fix(auth): correct local cookie security configuration

This commit is contained in:
Schubert Ferenc 2026-07-11 15:50:15 +02:00
parent b584e60273
commit 155fdbb16a
67 changed files with 1003 additions and 62 deletions

View file

@ -0,0 +1,21 @@
from __future__ import annotations
from alembic import op
import sqlalchemy as sa
revision = "202607110005"
down_revision = "202607110004"
branch_labels = None
depends_on = None
def upgrade() -> None:
op.add_column("contacts", sa.Column("notes", sa.String(length=500), nullable=True))
op.add_column("devices", sa.Column("notes", sa.Text(), nullable=True))
op.add_column("equipment", sa.Column("notes", sa.String(length=500), nullable=True))
def downgrade() -> None:
op.drop_column("equipment", "notes")
op.drop_column("devices", "notes")
op.drop_column("contacts", "notes")