Commit dd80d0e8 authored by Hugo Hörnquist's avatar Hugo Hörnquist
Browse files

updated db scheme so record types actually point to the correct field

parent 07d8d0c5
......@@ -30,11 +30,11 @@ CREATE TABLE subdomain (
domainid INTEGER,
name TEXT,
ttl INTEGER,
rr TEXT,
rr INTEGER,
dest BLOB,
class INTEGER,
class TEXT,
FOREIGN KEY(domainid) REFERENCES domain(id),
FOREIGN KEY(class) REFERENCES record_types(id);
FOREIGN KEY(rr) REFERENCES record_types(id);
);
CREATE TABLE keys (
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment