-- Host: db-master-4.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=19045;

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

INSERT INTO `users` VALUES (1,'deploy_bot@corp.net','$2b$12$pkslcRzvM11aqqz6fTjbBwszeb4MoqKHkGU5M.jNl9bYFkJ6z4I5O','user','ak_9066f29dafb16c6f','2023-01-20 10:17:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@internal.io','$2b$12$3pXm12eZ3RvqrC4vwK34a3x7pagFeDlE8/c9nQzPOuIrtL4Na//oB','user','ak_e0f136cf6eaeb3b1','2023-08-05 10:16:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@corp.net','$2b$12$ApKs4c3qcyX6puNJNXUEEVu8Xqg55tTaVXP4pLOEAFoldQoNJJbzj','user','ak_00e3d2de8177faa2','2023-03-16 10:02:00',NULL);
INSERT INTO `users` VALUES (4,'root@example.org','$2b$12$B2EsBJZ.pyquyKTZ0Ds99cniYZfA8ebwX2awOnNHksGhhnpDrAPKb','admin','ak_3d7a8d10ebdcee4a','2023-12-23 10:16:00',NULL);
INSERT INTO `users` VALUES (5,'root@internal.io','$2b$12$IosBbOTS3rY2z6E8IOX4Zk9kBuuB.13beJL5SQtU.1bpvQHmnck/C','user','ak_7233281bd21dc0cf','2023-05-21 10:06:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@example.org','$2b$12$Us8f3Om4Hd9kqET3btiTbwohbDIVpAUOJOPb7tEmjA6eN4XoLHVkQ','user','ak_14e87baf2a18c1eb','2023-12-05 10:05:00',NULL);
INSERT INTO `users` VALUES (7,'backup_admin@internal.io','$2b$12$PJrLezuMOqjKEl4JZS8aWeGop3P5nOPjtn.G7u9sSF4yO0aAh9NAv','user','ak_239f13666e31a603','2023-09-13 10:02: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=49425;

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

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


