您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

powerdns-dnssec-sqlite-db-structure.sql 770B

12345678910111213141516171819202122232425262728293031
  1. alter table records add ordername VARCHAR(255);
  2. alter table records add auth bool;
  3. create index orderindex on records(ordername);
  4. create table domainmetadata (
  5. id INTEGER PRIMARY KEY,
  6. domain_id INT NOT NULL,
  7. kind VARCHAR(16) COLLATE NOCASE,
  8. content TEXT
  9. );
  10. create index domainmetaidindex on domainmetadata(domain_id);
  11. create table cryptokeys (
  12. id INTEGER PRIMARY KEY,
  13. domain_id INT NOT NULL,
  14. flags INT NOT NULL,
  15. active BOOL,
  16. content TEXT
  17. );
  18. create index domainidindex on cryptokeys(domain_id);
  19. create table tsigkeys (
  20. id INTEGER PRIMARY KEY,
  21. name VARCHAR(255) COLLATE NOCASE,
  22. algorithm VARCHAR(50) COLLATE NOCASE,
  23. secret VARCHAR(255)
  24. );
  25. create unique index namealgoindex on tsigkeys(name, algorithm);