-- Host: db-master-8.internal    Database: main_app


--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `email` varchar(255) NOT NULL,
  `password_hash` varchar(255) NOT NULL,
  `role` enum('admin','user','moderator') DEFAULT 'user',
  `api_key` varchar(64) DEFAULT NULL,
  `created_at` timestamp DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=46189;

--
-- Dumping data for table `users`
--

INSERT INTO `users` VALUES (1,'admin@internal.io','$2b$12$tn3p9zUMO/5f5PLHXOX6GdO3rVAoYM4STC1xXEJVBLSjhGowk/.jK','user','ak_0f5edc745341e6d1','2023-07-22 10:23:00',NULL);
INSERT INTO `users` VALUES (2,'admin@corp.net','$2b$12$Nf9e/13.Jhg7vuxqSEixX4SoHkOu7UpcwU2zrTJ1Gej.xpO6mmb2b','user','ak_e71fd7e4f2756a93','2023-07-15 10:09:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@company.com','$2b$12$me4qq8OngziPgXUZnIAtXDkH14ew8ilXROqMa.qhTZ1Cj2Y15C8Ny','admin','ak_039ef7b6ddd4ec5e','2023-06-07 10:15:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@internal.io','$2b$12$76ffao2Q/KBWa/sqtJOFcwu8pXKpuGW6UvH0ZWsazGGKT5b80qVpt','admin','ak_fb452b360961dcbb','2023-09-27 10:15:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@corp.net','$2b$12$EjXArpshs.DgPExifSe37UGGkgtTdvU3qK9OIDT8lhRm0fOaXZKpO','user','ak_f46cd7d0b35640be','2023-08-27 10:23:00',NULL);
INSERT INTO `users` VALUES (6,'service_account@corp.net','$2b$12$xUKywXjV3V6NSyFmsBNnaqA3NX5zcTw/9VCBXflq1Et.BC1axFdYO','user','ak_ce2b21d047f5e968','2023-03-24 10:15:00',NULL);

--
-- Table structure for table `sessions`
--

CREATE TABLE `sessions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) DEFAULT NULL,
  `data` text,
  `created_at` timestamp DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=45717;

--
-- Dumping data for table `sessions`
--


--
-- Table structure for table `products`
--

CREATE TABLE `products` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) DEFAULT NULL,
  `data` text,
  `created_at` timestamp DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=25055;

--
-- Dumping data for table `products`
--


