NULL should be a true NULL value, not stored as a string with a null. A string with NULL in it is not actually NULL. That said all root level items should either use a true NULL or 0 value depending on if there is some type of unique key constraint. If parent_id is part of a unique key constraint than 0 would be more appropriate than null since null would result in the constraint not being satisfied by root level items.