From: Libor Peltan Date: Fri, 16 Nov 2018 09:51:23 +0000 (+0100) Subject: sql import: fix db schema X-Git-Tag: v2.8.0~98^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b03e01198fa53d02804f87cfddb72d1baa0f225b;p=thirdparty%2Fknot-dns.git sql import: fix db schema --- diff --git a/scripts/dns_sql2zf.py b/scripts/dns_sql2zf.py index 04178eed1e..80c0c30f07 100755 --- a/scripts/dns_sql2zf.py +++ b/scripts/dns_sql2zf.py @@ -44,9 +44,9 @@ class Domains(SQLObject): # id = IntCol() # implicitly there name = StringCol() master = StringCol() - last_check = StringCol() + last_check = IntCol() type = StringCol() - notified_serial = StringCol() + notified_serial = IntCol() account = StringCol() class Records(SQLObject): @@ -57,9 +57,9 @@ class Records(SQLObject): content = StringCol() ttl = IntCol() prio = IntCol() - change_date = StringCol() + change_date = IntCol() ordername = StringCol() - auth = StringCol() + auth = IntCol() class Changes(SQLObject): # id = IntCol() # implicitly there