// scripts/seed.js
const { seedRolesAndPermissions } = require('../lib/roleSeeder');

seedRolesAndPermissions()
  .then(() => {
    console.log('Database seeded successfully!');
    process.exit(0);
  })
  .catch(error => {
    console.error('Seeding failed:', error);
    process.exit(1);
  });
