Updated migration for imap table.