Added up/down migration for new table marks_to_groups