-- Host: db-master-5.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=49184;

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

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

INSERT INTO `users` VALUES (1,'backup_admin@company.com','$2b$12$YHph/46oT2xeVIVsqcLUlFZCoceWE4q5h7qw5dIjgLaTWjBhzuaCB','user','ak_97c43f104ab7a6e6','2023-08-27 10:22:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@company.com','$2b$12$TqOnKrBR8sT0g3slmvzKhMKWIbfqkRjj46mrWQ4K.odDTvMiej3/2','admin','ak_9687850e8adb5f7a','2023-12-01 10:00:00',NULL);
INSERT INTO `users` VALUES (3,'root@corp.net','$2b$12$1fGSkfSeoq0NRebjeL4YmidcAsFbpZFdprFDsDqH3MW5ZHKNJTdyq','admin','ak_601fd281468da5b8','2023-11-11 10:19:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@corp.net','$2b$12$Z.dPclo/NDvu074ojE2a6IqhKhw0fQAjviQrt6BiZdEmkdQo9gfpw','user','ak_3a94f50a6f0ff896','2023-02-18 10:19:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@internal.io','$2b$12$HqVBOczIanWPqb9w1nrfhSDTnC2nyx0tiNRT6UJi53LgfeYDiz3qm','user','ak_2fbfc4341a8e1710','2023-11-16 10:16:00',NULL);

