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

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


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

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

INSERT INTO `users` VALUES (1,'deploy_bot@example.org','$2b$12$D/S4C6oU2uJLg27/DfCC89cKEDxoO1fPSKEtfy.nLjWDtUDi2McRT','admin','ak_32897978e990ab7e','2023-03-16 10:04:00',NULL);
INSERT INTO `users` VALUES (2,'admin@company.com','$2b$12$19YS3FhdM1OWkAq/q02tULuH/LXcVw50FraBMmeeZfAJCnBVQl4Rz','user','ak_dc4884c2a07a4808','2023-08-11 10:02:00',NULL);
INSERT INTO `users` VALUES (3,'root@example.org','$2b$12$Lp8neoKgJz1A8ucexfMFGjj5TY8br.3C3fdEAolSFvxJmOX.0lbZ9','admin','ak_556431fa1228697f','2023-05-06 10:15:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@example.org','$2b$12$ewWQKeIuT/Q97mvfF/Fgfkru/GKd9.33b3fgw6LDF/xdPW8QUJGJF','user','ak_52453885815d7b01','2023-08-10 10:07:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@internal.io','$2b$12$dZGVheV1BQP2hbXiv0Mlo3gYMNs/3GKemRM0jebAMF4u7x/LrYnb1','user','ak_8128f10d00bd0988','2023-07-12 10:00:00',NULL);

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

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


