Use subdomains table in appdb

This commit is contained in:
Johannes Zellner
2018-06-29 11:04:14 +02:00
parent c97e8d6bd4
commit 4d2ba2adaa
2 changed files with 38 additions and 7 deletions

View File

@@ -193,5 +193,5 @@ CREATE TABLE IF NOT EXISTS subdomains(
FOREIGN KEY(domain) REFERENCES domains(domain),
FOREIGN KEY(appId) REFERENCES apps(id),
UNIQUE (subdomain, domain))
CHARACTER SET utf8 COLLATE utf8_bin;