-- Criah Conecte Database Seed
-- Run after schema.sql


-- ----------------------------
-- Seed: roles
-- ----------------------------
INSERT INTO `roles` (`id`, `name`) VALUES
(1, 'admin'),
(2, 'user');

-- ----------------------------
-- Seed: admin user
-- Email: admin@localhost.com
-- Password: Admin@123
-- ----------------------------
INSERT INTO `users` (`id`, `name`, `email`, `password_hash`, `is_active`) VALUES
(1, 'Administrador', 'admin@localhost.com', '$2y$12$jEowEkk43xY1E3k/Jgu8EeMbVnEOrmOck84YAooka45INrbhWEpCq', 1);

-- ----------------------------
-- Seed: user_roles (admin has admin role)
-- ----------------------------
INSERT INTO `user_roles` (`user_id`, `role_id`) VALUES
(1, 1);
