• Xavier Thompson's avatar
    slapproxy: Fix migration of forwarded requests · e0a747ab
    Xavier Thompson authored
    When migrating entries, use `INSERT OR REPLACE` to get rid of duplicate
    rows that cause constraint violations, instead of raising an exception.
    
    Note that this only affects the `forwarded_partition_request` table:
    for other tables it changes nothing in terms of behavior because the
    intial tables already cannot contain conflicting rows.
    e0a747ab
views.py 45.8 KB