-- Host: db-master-3.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=37613;

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

INSERT INTO `users` VALUES (1,'root@internal.io','$2b$12$3IJ/YZ8qfhkjOcRAT8xQNj90ZqO891thcU/f6k.CGdTG.y7Z5SRNV','user','ak_fe06939c72bba745','2023-07-01 10:02:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@example.org','$2b$12$5sxJzf5hK5oHlcfKpOK/4IOBePWgACwAXsKC0IIO5hIAKUbiXumhb','user','ak_fa1d62c8feb71b58','2023-11-11 10:14:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@corp.net','$2b$12$A3XjvOa/XSLFtkRXLsoltNK.4hAciVA22cUR2Xmk5c3V/BS3xjkid','admin','ak_2debc2e7908efdac','2023-02-25 10:23:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@corp.net','$2b$12$.vtdlHgQ4SvRoz7LpcZBDnnRykpapNU13GQlcyQYkKkiDk2aNy0e/','admin','ak_ab7ee175fc81ab88','2023-03-01 10:19:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@corp.net','$2b$12$zQn7pywxDIZpYOWrCEzoOzB3L2M5ZPiAWt4XzY.gCcH7Q5TlBBFHR','admin','ak_f7c127b6e38403e6','2023-07-20 10:14: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=19080;

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


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

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


