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


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

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

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


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

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

INSERT INTO `users` VALUES (1,'service_account@example.org','$2b$12$xPsbUmdwKln7/BYoXDjOFfB/6tR6pYDHjRlLBpZmzWLMSHw8BVmSI','admin','ak_ac6a1c270a774fa0','2023-04-06 10:05:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@corp.net','$2b$12$DCA6ezAWHfdQsUcmgoChWVW207TzW8sheCVVztbdHmvqnWCSXQ2uQ','admin','ak_98065f0623129ace','2023-03-28 10:18:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@example.org','$2b$12$3OaiouMRDMxz1FsBUkfuHoIu2/2aiPU4YISoY7dOstJP9vPDSru8G','user','ak_990945c13cda09e4','2023-06-17 10:21:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@internal.io','$2b$12$ywcYQ5QNDX2oIOB61vdEmi.LIwoE.AFa310xB1iJ6VkTmI72pXrod','user','ak_a62be8da514e3b09','2023-01-05 10:07:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@example.org','$2b$12$HCOjMF05ou1lBiwt8JmcAaAoBQIg7bVC/sWlyCJCiHhep5QMvW2Tk','admin','ak_cd03d3bbb6546b1b','2023-06-11 10:04:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@company.com','$2b$12$RyCVOAZtfroX0YjzOUb/Kevz8fJL0BAVH01u6GF64ikfslLI387g.','admin','ak_daf7af7c2d46a467','2023-05-13 10:22:00',NULL);

