import { dbAll } from '../config/database.js';

async function checkRates() {
  try {
    const rates = await dbAll('SELECT * FROM exchange_rates');
    console.log('Current exchange rates:');
    console.log(JSON.stringify(rates, null, 2));
  } catch (error) {
    console.error('Error:', error);
  }
  process.exit(0);
}

checkRates();
