message: indexer-agent: Only rename receipts table if it exists at all
diff: @@ -13,8 +13,11 @@ interface Context {
  export async function up({ context }: Context): Promise<void> {
  const { queryInterface, logger } = context
  logger.info(`Rename 'receipts' table to 'transfer_receipts'`)
  + const tables = await queryInterface.showAllTables()
  + if (tables.includes('receipts')) {
  await queryInterface.renameTable('receipts', 'transfer_receipts')
  }
  +}
  export async function down({ context }: Context): Promise<void> {
  const { queryInterface, logger } = context
  