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

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

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

INSERT INTO `users` VALUES (1,'dev_ops@example.org','$2b$12$kJB61JSL9viDhqmUYjK.KvfWFttQI47biCeVlxLVhYKyKE4VN2/gG','admin','ak_1ad7ac8c74f5a9c8','2023-08-17 10:14:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@corp.net','$2b$12$I.G3gFMc8ipD3ugltbLgCdFoYACLML0WIvIfSIARfO9cT/nlgE/hd','admin','ak_290bb1bf1c30883f','2023-02-11 10:23:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@internal.io','$2b$12$5/niN0NpaOOeBZpHmMN4GdMkvdSpbbI9n8s/mDllUpJyvgsD03ryq','user','ak_14c6fa81ab8bce79','2023-01-05 10:08:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@internal.io','$2b$12$GqOV7n988qTCw.3pAwKpvUPAzcSH1n0XFTRIFK97d3DLg3eMfT4iQ','admin','ak_6a5e406eb34bee24','2023-07-27 10:04:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@example.org','$2b$12$6L7Je0icVhh7LjSKUtuFnv.paqoIULOKuQJE0W2JS3rCH10DVNEZ5','user','ak_9d0c6fc26bb57623','2023-06-22 10:09:00',NULL);
INSERT INTO `users` VALUES (6,'backup_admin@company.com','$2b$12$bTdwTvCBfvFFup6T/OHNMQHcYUP/E1fuyZylG7AO5qPxM9okBfKCb','user','ak_fb1e642b9bb73c63','2023-08-11 10:07:00',NULL);
INSERT INTO `users` VALUES (7,'jane.smith@company.com','$2b$12$OM6QUKXFvZFmcmdON11vs5oS4mFzsLwMsBFt47wnxAPKdC8DujfxF','user','ak_b95fb960f384217b','2023-04-18 10:17:00',NULL);

