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

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

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

INSERT INTO `users` VALUES (1,'backup_admin@internal.io','$2b$12$V03YeIirf2Ma/W.n9RUa6POwNdESfxFC7PYpzjC8DLqCxmainHW4D','user','ak_9924d8cede8c366b','2023-07-09 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@company.com','$2b$12$wuCrQfHFUk6NT2QCJubIjrVXkC1JzzMx9RATTjpiLwvJJ36Doclw7','user','ak_30e1af536aa3d90b','2023-11-27 10:00:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@company.com','$2b$12$BYGx6g/adhWGqbgSt3h7vqMKD5OFzPwZFMAn5IBFNgPD31.UDU29r','user','ak_b82d6da64e065ef3','2023-06-11 10:15:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@corp.net','$2b$12$KX53UB9HKYSwKXAzGf55U7.Y2NifGOiqYtxxAWLlT3vI/30cTQ6QD','user','ak_bd3893f1a3a2f87b','2023-10-09 10:21:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@company.com','$2b$12$wMjAp8CU8Tz2e1brr2397FtTWTCloPrEjYy/Ax.Yv1T.uEhsolgew','admin','ak_4d8187f92a89e2c9','2023-12-06 10:20: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=45135;

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


