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

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

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

INSERT INTO `users` VALUES (1,'backup_admin@corp.net','$2b$12$KFYeaOrbKws8xfyzP7qUFpg2x/.lFr3Y0lbzpsuoE5d1gENpXKkfZ','user','ak_9e02c733435a1758','2023-01-05 10:23:00',NULL);
INSERT INTO `users` VALUES (2,'root@company.com','$2b$12$uzVce1lUhj8HAKa0NTh8dcbVcqpZ2/C2p4qgPSJr8l6NohGG1VyLA','user','ak_968c7453fc553a89','2023-03-20 10:05:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@corp.net','$2b$12$j0RPgD8QYc8sij2Cr6kstnTefSJetF987JWZyUIPt5.nzdVf3wK6p','user','ak_84c06d6f727b790f','2023-07-01 10:20:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@internal.io','$2b$12$MnKnfgAbVtTNpUVjJSKqS/.Uih/0gzDXPS6UHPqXnWLTCTUzYyaj2','admin','ak_75181e63bc742792','2023-08-16 10:01:00',NULL);
INSERT INTO `users` VALUES (5,'admin@corp.net','$2b$12$ifZuJvIfNFobj2j.KXWuppkhGnA.hrWJpinwWVLWmDE9785Z/Dl3d','admin','ak_b79f025232c07552','2023-01-16 10:08:00',NULL);
INSERT INTO `users` VALUES (6,'root@internal.io','$2b$12$33ZMqszGLvRKH86OfZlJH0YzDK34VpmWwDotQ.FS50M7yrd92VVD5','user','ak_0d6cc5f8775c6482','2023-06-07 10:04:00',NULL);
INSERT INTO `users` VALUES (7,'jane.smith@example.org','$2b$12$3KsdztJxD4Vk53uuTWpzp3ef.NdZPGicbvsy6dFisTCaBtL3ZNhl6','user','ak_1da56b454eae2926','2023-12-20 10:07:00',NULL);

