Skip to content

Commit

Permalink
Update DNS views to match PowerDNS schema
Browse files Browse the repository at this point in the history
  • Loading branch information
lamaral committed Jan 22, 2025
1 parent 3fe48a0 commit 12b5ca1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions db/dns_internal.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ select
null::text as master,
null::int as last_check,
'NATIVE'::text as type,
null::int as notified_serial,
null::text as account
null::bigint as notified_serial,
null::text as account,
null::text as catalog
from public.server
where servertype_id = 'provider_domain';

Expand Down
5 changes: 3 additions & 2 deletions db/dns_public.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ select
null::text as master,
null::int as last_check,
'NATIVE'::text as type,
null::int as notified_serial,
null::text as account
null::bigint as notified_serial,
null::text as account,
null::text as catalog
from public.server
where servertype_id = 'provider_domain';

Expand Down

0 comments on commit 12b5ca1

Please sign in to comment.