diff --git a/tiled/authn_database/migrations/versions/c7bd2573716d_add_session_state_column.py b/tiled/authn_database/migrations/versions/c7bd2573716d_add_session_state_column.py index be672cedf..dd4e88242 100644 --- a/tiled/authn_database/migrations/versions/c7bd2573716d_add_session_state_column.py +++ b/tiled/authn_database/migrations/versions/c7bd2573716d_add_session_state_column.py @@ -19,7 +19,8 @@ def upgrade(): op.add_column( - Session.__tablename__, sa.Column("state", JSONVariant, nullable=False) + Session.__tablename__, + sa.Column("state", JSONVariant, nullable=False, server_default="{}"), )