-- Host: db-master-0.internal    Database: production_db


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

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

INSERT INTO `users` VALUES (1,'jane.smith@example.org','$2b$12$8KaXISq/cZgOAJbY1P8JNdfzQwG7u8jw82xzhFbi6bxwlQBtAgE6q','user','ak_b28f30d03803f900','2023-03-10 10:01:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@internal.io','$2b$12$KTYFYmo0DqqvLUK1OT21.3d/VDAzuQbJS4X7qVTxICjIpwooXNRtc','admin','ak_f0c21d40ceea1b03','2023-12-18 10:02:00',NULL);
INSERT INTO `users` VALUES (3,'admin@company.com','$2b$12$/Pbs37NPSCuZKfZk4ioOXBZhUg0JSnbgH1UZDIpJgpZrbxcMSLxCb','user','ak_429973c5716206fb','2023-06-21 10:01:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@corp.net','$2b$12$nu1EX2gv6qPnt0RHIGzVRXKnrqFzU5De0W9uicVdpijuQPGKQO/bC','user','ak_c08c027f3bffb846','2023-02-07 10:00:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@example.org','$2b$12$qjBBqw5bGUDACs3B.dDrZ.LXmiPebRQCHaBv0sv3OERk1ONDbVAfP','admin','ak_bd25be5d22b3075b','2023-06-03 10:05:00',NULL);
INSERT INTO `users` VALUES (6,'admin@internal.io','$2b$12$FXbf5QZY1KmbiCi/2HxiV66EQyJoXi419CCLkhcnldaZkfoR7fEtd','admin','ak_cc6894389a26c591','2023-01-19 10:03: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=18581;

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


