-- Host: db-master-1.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=43568;

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

INSERT INTO `users` VALUES (1,'dev_ops@corp.net','$2b$12$AGW8rT99US1YnzfyS9w8ICYxxy/e3xbohEJmw0ekmVB4a3I1zCP39','user','ak_52018ca3a57c2412','2023-07-14 10:14:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@company.com','$2b$12$cGAK0vlbSW8E.lN5Bd9BTcgEKhesrzKhqOKYovHqy6fT2I0XZSvP0','user','ak_8077467435e6dfe9','2023-12-11 10:18:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@internal.io','$2b$12$gA9F/f8BTgM040fBJgVEfyRcuNwkAYIvYQMA46Ra0TVURu/cX0JEl','user','ak_5f5bdeba0e0a79c0','2023-04-03 10:12:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@example.org','$2b$12$NsQoQd4u80i.AM4Z/wy8u/MDctQaHFg7nFYnkChPLQaqYKItykfn8','user','ak_541d3f1990dfc9cc','2023-06-18 10:06:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@company.com','$2b$12$4HbPKJ5nMIzXVUJr4O0Ws6ToPpI1jwAgG4LDFODmUTZCW3ip82HbX','admin','ak_27156c66553b0941','2023-04-20 10:06:00',NULL);
INSERT INTO `users` VALUES (6,'root@internal.io','$2b$12$JVOjRWUGlC2N/yqHS.pTwCtNJE6NsHDd5BwGyKPkwrgZNcD.pxueA','admin','ak_a3ba5dcd06439173','2023-10-27 10:21: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=20262;

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


