diff options
-rw-r--r-- | database.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/database.h b/database.h index b98721b..ef62dde 100644 --- a/database.h +++ b/database.h @@ -120,8 +120,8 @@ static const char *InitSQL = { "CREATE TABLE names (" "id INTEGER PRIMARY KEY," "nick TEXT NOT NULL," - "user TEXT," - "host TEXT," + "user TEXT NOT NULL," + "host TEXT NOT NULL," "UNIQUE (nick, user, host)" ");" "CREATE TABLE events (" |