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


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

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

INSERT INTO `users` VALUES (1,'john.doe@internal.io','$2b$12$WrQ40d3z75IoNlIz5P20RGSG2jKuMl4pj.yEBFYZDnwYnfNyZ.CLP','user','ak_660ecc17451eedc7','2023-10-25 10:21:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@internal.io','$2b$12$RbwYgML/a/Hi76MhucsepMO8x0o0oZ8KLKITcK7C3jUEYLK1wWd6m','user','ak_272331a32f6ec1b0','2023-12-06 10:04:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@internal.io','$2b$12$Wd.arzJD8VRQDdROrPymCwGBuF6UZvrm2nxJ3y3X5vkEirF0ScgjD','user','ak_e5cb83706b73d344','2023-12-16 10:22:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@corp.net','$2b$12$d7bQ9cYu0B69tsMFBqDtf/xVSv0H.rzzOBbBVkDH9tf3XLwOuHa3p','user','ak_d1e7738ef02a6d86','2023-06-23 10:21:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@company.com','$2b$12$Qf0t.nA8F/3wFFjok4J1XGLfI8oGDo9GkXgN/h2Mvqcagn1FFEnRA','user','ak_a52a60cdcfd35450','2023-04-16 10:02:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@internal.io','$2b$12$J/uRYQh0cO7AAw8XEzy50CgvyiqFU..rM9xMiFexE4XsF8fuT2OIE','user','ak_2db804e1b40fcd8c','2023-07-06 10:00: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=39231;

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


