Table columns now non-nullable and fixed accountId related SQL queries.