How to create role (user-permission) from bootstrap function

Thanks, my approach is a bit different:

strapi.db.query('plugin::users-permissions.role').create({
				data: {
					name: 'Admin',
					type: 'admin',
					description: 'Has access to almost everything',
				}
			})