Add a migration to add uniqueness constraint and to generate default
slugs where needed for the slug field.