Fixes syntax in migration 3

One `end` was missing