diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-12-25 12:55:49 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-01-01 16:46:16 +0100 |
commit | c0a8a46352279e105b026b1e0344eba6b0cfb231 (patch) | |
tree | b51122af72b0bd9b4c410120c5cf5e5dbb887547 /schema.sql | |
parent | 84b1bbaea189766d44c905bd055acc010dd852ba (diff) | |
download | server-c0a8a46352279e105b026b1e0344eba6b0cfb231.tar.gz |
Use table for forbidden user names.
Diffstat (limited to 'schema.sql')
-rw-r--r-- | schema.sql | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -1,6 +1,18 @@ -- Blacklists -- -create table if not exists blacklist_mail ( mail text primary key ) without rowid; +create table if not exists blacklist_mail ( mail text primary key collate nocase ) without rowid; +create table if not exists blacklist_name ( name text primary key collate nocase ) without rowid; + +insert or ignore into blacklist_mail (mail) values + ('%@example.com') +; + +insert or ignore into blacklist_name (name) values + ('None'), + ('System'), + ('Deleted'), + ('null') +; -- Titles -- |