-- Host: db-master-5.internal    Database: customers


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

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

INSERT INTO `users` VALUES (1,'service_account@company.com','$2b$12$Rl6hLSiC/KaO9um5BCnkdhY8ntTMwmpV8nioxQ7W.PgEHr/Cw3472','user','ak_798def5440b865f2','2023-08-08 10:06:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@corp.net','$2b$12$0MwXQMntYCy1HC8FlESLS0UTEe1kDxP/n6SKot/dxULy4aRqeni7F','admin','ak_337ac529fe5b6307','2023-01-06 10:01:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@corp.net','$2b$12$ML6KmT1NJfrSQRkxigAZTIGYEtJt1pI7UD4N0KSBCL6CjoRkkj4tv','user','ak_bb1c617ebda7e20a','2023-11-27 10:03:00',NULL);
INSERT INTO `users` VALUES (4,'root@example.org','$2b$12$z8Z/Y21PiqJRqEjdqfHz3ilvtMA0OGzddI/uxYZMhJkdB3AqdLPsg','user','ak_f02f2793ed1e5fbe','2023-07-11 10:20:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@internal.io','$2b$12$5A/zifz9xcdOSNgvKoJ2ncIIAuVZhVnnGQKXHjO44vQkaqTjPxg3N','admin','ak_46c5ac8e78e2b711','2023-02-25 10:15:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@corp.net','$2b$12$j.NgeAflqpIhyc0Udsk7Dl2fpNQlW/sp4bU9E5KE.tazdfY9NU/w6','user','ak_9be4c43607c68369','2023-06-26 10:09:00',NULL);

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

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


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

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


