Fix typo of "d" instead of "id" for column in "functions" table.