Previous soju versions were storing log without converting the channel and nick names to their canonical lower-case representation. This could result in two log directories for the same channel/nick. This script fixes old log dirs.
This commit changes the Network schema to use user IDs instead of usernames. While at it, a new UNIQUE(user, name) constraint ensures there is no conflict with custom network names. Closes: https://todo.sr.ht/~emersion/soju/86 References: https://todo.sr.ht/~emersion/soju/29
Allows populating the soju database from a ZNC config file.