I've been checking the sqlite file to make pgsql SQL file, and I'm stopped by lots of problems in the design (I'm still checking the code to be sure about changes). Some are things seen in lots of places, not making them good designs, and others are normalizations.
Here are some (if not all) of them:
should be replaced with NULL.
varchar(5). First, the use of a reserved SQL word like language really bothers me (lang would have been OK, and easier to write ;-)). And second, for the sake of normalization all posible (or supported) languages should be in a separate table, referenced from the users table.
quotes, which may have an unpleseant behaviour in PostgreSQL (it makes it case sensitive). As they are both in lower case, I'll just take the doble quotes away.
spooks, as it is a reserved word in SQL.
Any comments are welcomed.