diff options
author | tilpner | 2018-08-12 21:11:14 +0200 |
---|---|---|
committer | tilpner | 2018-08-12 21:11:14 +0200 |
commit | 0ec6eacee4fb5b8f0992f8be557f14816f558c22 (patch) | |
tree | 8d10c3a3b2f8b7248e8f2abba7c9e2b3079ef1c0 /irc | |
parent | 76561ca7b1ad923967af37da691c55bd8f8219e8 (diff) | |
download | meep-0ec6eacee4fb5b8f0992f8be557f14816f558c22.tar.gz meep-0ec6eacee4fb5b8f0992f8be557f14816f558c22.tar.xz meep-0ec6eacee4fb5b8f0992f8be557f14816f558c22.zip |
Add missing primary key constraints to channels, network tables
Diffstat (limited to 'irc')
-rw-r--r-- | irc/db.rkt | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -18,9 +18,11 @@ (create-table #:if-not-exists channels #:columns [name varchar #:not-null] [autojoin boolean #:not-null] - [data varchar #:not-null])) + [data varchar #:not-null] + #:constraints (primary-key name))) (query-exec (current-database) (create-table #:if-not-exists network #:columns [name varchar #:not-null] - [data varchar #:not-null]))) + [data varchar #:not-null] + #:constraints (primary-key name)))) |