Skip to content

Commit 08df692

Browse files
authored
Update DNS views to match PowerDNS schema (#385)
1 parent c50c69e commit 08df692

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

db/dns_internal.sql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ select
99
null::text as master,
1010
null::int as last_check,
1111
'NATIVE'::text as type,
12-
null::int as notified_serial,
13-
null::text as account
12+
null::bigint as notified_serial,
13+
null::text as account,
14+
null::text as catalog
1415
from public.server
1516
where servertype_id = 'provider_domain';
1617

db/dns_public.sql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ select
99
null::text as master,
1010
null::int as last_check,
1111
'NATIVE'::text as type,
12-
null::int as notified_serial,
13-
null::text as account
12+
null::bigint as notified_serial,
13+
null::text as account,
14+
null::text as catalog
1415
from public.server
1516
where servertype_id = 'provider_domain';
1617

0 commit comments

Comments
 (0)