Missing NOT NULL and uniqueness constraints in DB

Case insensitive unique constraints are a bit tricky, I am uneasy adding the citext extension for this and we would be forced then to go name_lower and dupe the column just to add the index.

Yeah we should fix this

Also fine to add an index here.