update recursive value from string to int

recursive have no effect until int value and give " Column 'id' in where clause is ambiguous " when File model associated with User model