Database schema documentation
Added missing not null constraints