Comment 2 for bug 993663

Revision history for this message
aeva black (tenbrae) wrote : Re: dns_domains table mysql charset is 'latin1'. Should be 'utf8'

I agree that there should be a surrogate primary key (id auto_increment), with a unique secondary key on the 'domain' column. AFAICT, no other tables reference the 'domain' column, and all the references in api.py which modify the 'dns_domains' table include the 'domain' column in the WHERE clause, so I think this change should be pretty straight forward.