From 655d2518f4c182d03d76483b3a50716a0bc4f2d4 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Mon, 27 May 2019 12:42:50 +0100 Subject: [PATCH] #596 fix default value on actionset field --- lib/App/Netdisco/DB/Result/DeviceSkip.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/App/Netdisco/DB/Result/DeviceSkip.pm b/lib/App/Netdisco/DB/Result/DeviceSkip.pm index fc4385e8..4bb64d93 100644 --- a/lib/App/Netdisco/DB/Result/DeviceSkip.pm +++ b/lib/App/Netdisco/DB/Result/DeviceSkip.pm @@ -14,7 +14,7 @@ __PACKAGE__->add_columns( "device", { data_type => "inet", is_nullable => 0 }, "actionset", - { data_type => "text[]", is_nullable => 1, default_value => '{}' }, + { data_type => "text[]", is_nullable => 1, default_value => \"'{}'::text[]" }, "deferrals", { data_type => "integer", is_nullable => 1, default_value => '0' }, "last_defer",