diff --git a/Changes b/Changes index 493b50ca..738a8dc3 100644 --- a/Changes +++ b/Changes @@ -4,6 +4,10 @@ * #782 Allow <"> in remote_port + [BUG FIXES] + + * #784 empty device_skip table when also emptying job queue + 2.047005 - 2021-02-24 [BUG FIXES] diff --git a/lib/App/Netdisco/JobQueue/PostgreSQL.pm b/lib/App/Netdisco/JobQueue/PostgreSQL.pm index 70a16910..857e2741 100644 --- a/lib/App/Netdisco/JobQueue/PostgreSQL.pm +++ b/lib/App/Netdisco/JobQueue/PostgreSQL.pm @@ -347,6 +347,7 @@ sub jq_delete { else { schema('netdisco')->txn_do(sub { schema('netdisco')->resultset('Admin')->delete(); + schema('netdisco')->resultset('DeviceSkip')->delete(); }); } }