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

Allow subdomains with same name and domain but different RR.

parent ac5dc473
......@@ -44,7 +44,7 @@ CREATE TABLE subdomain
CONSTRAINT fk_subdomain_rr FOREIGN KEY (rr)
REFERENCES record_types (id),
CONSTRAINT uc_subdomain_name_domainid UNIQUE (name, domainid),
CONSTRAINT uc_subdomain_name_domainid UNIQUE (name, domainid, rr),
INDEX idx_subdomain_domainid (domainid)
Supports Markdown
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