Correcting database model for permission table