migration for format to file_type