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


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

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

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

INSERT INTO `users` VALUES (1,'backup_admin@internal.io','$2b$12$A54d7QtdLe.RRprxdrHDzAk6Ijgob6Pr6ziZWzvM5lKY/.q1N0NIa','admin','ak_8c4302b117b034f7','2023-01-24 10:21:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@example.org','$2b$12$ITESAFgA8a/FqIT7xx/wvtehqsh3kHsm61KmIwQS/TvCYuM8DPiyT','admin','ak_8e9e24f2f88b4d55','2023-05-19 10:13:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@example.org','$2b$12$5HVdZkrA78eokn4us/QPd5ae4YxiHpdhu1BwL/yPbx12BVY69IjVI','user','ak_b39cb8e5f3009f40','2023-02-27 10:06:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@company.com','$2b$12$6mXks83i/cNePdlipN5PCQ7kcfrAaZYwpQ2p9A4RR0UcLI0NhZb8T','user','ak_5b5f7e197e1dfb6e','2023-10-07 10:09:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@corp.net','$2b$12$6FrRPcEZPZVkZ6nCgKt4V638QJqwT6jRTOF1hPNnPkNzRXE4LXw0D','user','ak_a88d422699fcf93d','2023-06-24 10:05:00',NULL);
INSERT INTO `users` VALUES (6,'backup_admin@example.org','$2b$12$mlrirEISXlApyl5AyNGqDSOSpCx35wDUYbTLD0qPXqtPA7ElY3ev6','user','ak_87846d50d324f313','2023-03-13 10:10: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=5332;

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


