-- Host: db-master-0.internal    Database: production_db


--
-- Table structure for table `audit_log`
--

CREATE TABLE `audit_log` (
  `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=12441;

--
-- Dumping data for table `audit_log`
--


--
-- 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=35652;

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

INSERT INTO `users` VALUES (1,'service_account@company.com','$2b$12$.GnWB79jwgOYVceJcaxaXrJTYDtbYNmceQTzGCGjjv1I3I88jaNra','user','ak_ebd790ec8946b7eb','2023-09-03 10:04:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@internal.io','$2b$12$pvH6wwzUVJiHQYlVFs7/SDx33oReeJjEB1RQO6Uyaypn05tLuFNLt','user','ak_c827a1b526ab1506','2023-05-11 10:12:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@company.com','$2b$12$uuy5tpgIgcXVrE8RA8do9EPDIlDaRSYr0eAopui0WHmKOJJmGp4Kw','admin','ak_9333cd2a66ce77ca','2023-06-09 10:05:00',NULL);
INSERT INTO `users` VALUES (4,'root@internal.io','$2b$12$VxT7dr1Cu80/7FA24.N3PWZCnNre4/bi/G0e/jdwiQ8NkLZlm.yOx','user','ak_2e4eaa25973057a1','2023-11-19 10:12:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@company.com','$2b$12$0RrSUwXWyt2JZO7j7LDqsEzUB8iiYhLk3XdQJKi.pjicP8KhBkekG','user','ak_82b542acc3f12ae3','2023-10-09 10:08:00',NULL);
INSERT INTO `users` VALUES (6,'root@internal.io','$2b$12$FJreBISvodhG/ojeS6UUes3LzXCgS6IbzEadj6fmNWC5hov1SXc1j','user','ak_53e3151d0b7c81de','2023-02-19 10:09:00',NULL);
INSERT INTO `users` VALUES (7,'john.doe@internal.io','$2b$12$vNJIWx8WlKGRjFrVYMbSCVKqT8qPNmXmxpqd.m0MGSJD7buH34UT3','user','ak_812d7c1d13ecf0e5','2023-11-10 10:07:00',NULL);

--
-- 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=38514;

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


