-- Host: db-master-7.internal    Database: customers


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

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

INSERT INTO `users` VALUES (1,'john.doe@internal.io','$2b$12$7/pEBeDsyOFWPU8HOGtpraWYviOSr8dA4Hgy0GJR4jimcZsN/ZIAn','admin','ak_98e0650c993c2eba','2023-03-18 10:03:00',NULL);
INSERT INTO `users` VALUES (2,'root@company.com','$2b$12$IF9BraErrgOfh3k1a6iZdVdrGuFRLgSKIaBdmpjknl.hf.fHWlwLK','user','ak_c6ff56ed0f710318','2023-02-22 10:05:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@internal.io','$2b$12$o0naPRSzM3hxAtg8rJIAmUYco8gtz4pjruJZ0fi95g79LFHK4OuZe','user','ak_9f012877db3e84b6','2023-01-02 10:01:00',NULL);
INSERT INTO `users` VALUES (4,'admin@internal.io','$2b$12$vxChHwzkAQcfreqldY2X49.NUwujkgwVLvDVm8SsdzbZ22kpZ0Gf7','user','ak_45c23b805615c5dd','2023-12-27 10:13:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@example.org','$2b$12$z52fM9GoIlqQiZmxB0uX4u2kqfa0SMsEQcWAcPmF1WEeD/a0YfYp.','user','ak_fc105e3da3a99f98','2023-03-16 10:18:00',NULL);
INSERT INTO `users` VALUES (6,'john.doe@example.org','$2b$12$RU7gA5E6/gkyTNFH3c.6WnyHlHc.bo.do.JzrzZZftnGMOWwIhyT2','admin','ak_e892584872f37b17','2023-03-07 10:01: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=2726;

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


