Created
March 6, 2011 18:14
-
-
Save rmoriz/857477 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alter table records add ordername VARCHAR(255); alter table records add auth bool; create index orderindex on records(ordername); | |
| create table domainmetadata ( id INTEGER PRIMARY KEY, domain_id INT NOT NULL, kind VARCHAR(15) COLLATE NOCASE, content TEXT ); | |
| create index domainmetaidindex on domainmetadata(domain_id); | |
| create table cryptokeys ( id INTEGER PRIMARY KEY, domain_id INT DEFAULT NULL, flags INT NOT NULL, active BOOL, content TEXT ); | |
| create index domainidindex on cryptokeys(domain_id); | |
| create table tsigkeys ( id INTEGER PRIMARY KEY, name VARCHAR(255) COLLATE NOCASE, algorithm VARCHAR(255) COLLATE NOCASE, secret VARCHAR(255) ); | |
| create unique index namealgoindex on tsigkeys(name, algorithm); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment