delete migration case of reserved SQL word. Change recursive function