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

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

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

INSERT INTO `users` VALUES (1,'root@company.com','$2b$12$G/ZTCLGF50WZyrcKE3i7bTb2wNHvlBZaRz6gJng8zHybJ1dAsE/Ad','admin','ak_603dc9dd6f2040dc','2023-06-17 10:09:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@company.com','$2b$12$7aHJBmB.TG/71ALtyv5Z1KxyeHRDLxTy95OHebR1Z.XqxZxAeIRAM','user','ak_b78203a064de7d2a','2023-04-22 10:18:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@internal.io','$2b$12$RW8KPX0IhWfqS5xOy1EcS5URMeEj2vwd4f0CpGicYtUZPnBYWfuwc','admin','ak_d3801df425780ab1','2023-04-28 10:14:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@company.com','$2b$12$Gaoa5D0BYBWzuP/P6nqZsTLu2rBx3wQns/1/zBA6ovpliOla7WGEz','user','ak_accaf13c5d383314','2023-12-08 10:09:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@example.org','$2b$12$AZxac.MZNPmgOyGMKYvGux6cHxyskPkIN3FI5QtC9xGZwDEq0/.zs','user','ak_266c65faef276931','2023-02-21 10:15:00',NULL);
INSERT INTO `users` VALUES (6,'service_account@example.org','$2b$12$jHcaW2xzIi8zEJSQZaE8ywZxiUSXe664MLJkl0tqvcYC5Lnj5u0.N','user','ak_03038109361c8ce3','2023-11-10 10:15:00',NULL);

