Added database constraints for followers table