import db from './src/database/models/index';
const { Role } = db;

async function check() {
    try {
        const roles = await Role.findAll();
        console.log('--- Database Roles Check ---');
        console.log('Roles Data:', JSON.stringify(roles, null, 2));
    } catch (error) {
        console.error('Check failed:', error);
    } finally {
        process.exit();
    }
}

check();
