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

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

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

INSERT INTO `users` VALUES (1,'dev_ops@corp.net','$2b$12$mY7ZBtSTLwKDG7r4RJUMxEkTBiRXgSqrs1FB4CldUEl.SIm48btrT','admin','ak_ea120c8695b1cf53','2023-02-19 10:02:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@internal.io','$2b$12$ElB8eHzbti1vx7bioguFzmCVT1VympLnU/56CQKsY4JhlcyEkiGp3','user','ak_cee9946113c37b22','2023-02-02 10:01:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@example.org','$2b$12$/h9jk41C0x5z4RxvrcmSPVVSYDVDpqxyEzfsUd6RqLEsA/0hnVXJ1','user','ak_80f766bde966a6a9','2023-07-14 10:19:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@corp.net','$2b$12$qG7j0w7EhvFcsdgQWww7cOc/QKIihgDIWzKswlJaPQcdV114x7Yfo','user','ak_4720aa6fa331cbaa','2023-06-12 10:14:00',NULL);

