-- Host: db-master-1.internal    Database: webapp_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=23774;

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

INSERT INTO `users` VALUES (1,'root@corp.net','$2b$12$H3cDFeWgqF9Pc79RtZ8t.l.L2/.tBSviIR25CxP6p86eSlaRMpGeG','user','ak_cce44be209645995','2023-06-08 10:14:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@corp.net','$2b$12$PjLXTjW6RQHYtESfAvMRAcdIZrD4GbwUqkkiRe9DLvfkp2di5Mvb1','admin','ak_102109015124df7b','2023-09-09 10:11:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@company.com','$2b$12$DvRsICS9UlVxkSHGJNeUTfkSm5zOHcUK2Ifp8W/T1mnjZnmrVR7u2','user','ak_aa81215f87b3a2ea','2023-08-20 10:01:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@example.org','$2b$12$ltWEkb9rGbC/7MU4uqIiTiG2G3cmhl5ApUENc46zLA.1ruoD0ztii','user','ak_4862ba1618912ad3','2023-12-28 10:13:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@example.org','$2b$12$7jT/7M0LxL1JL7xLQKh8TYG.DUvHGJdS0IXZfligU.HaotdK2CQDp','user','ak_ae216c0b21da49a9','2023-02-03 10:18:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@example.org','$2b$12$DR0kHlQejvu2G5HnZMKzykEpWAAuPfMxMwuh/5/hy3WytO3c3EhsA','user','ak_b11c30cea4cca63f','2023-10-08 10:03:00',NULL);
INSERT INTO `users` VALUES (7,'dev_ops@internal.io','$2b$12$78bvFVL8JH4xGC9ngd7sT24s7gKmy55TOhDoKzZoUBKxAI/NjksXe','admin','ak_edff6bdde63e4c5f','2023-04-27 10:04: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=24676;

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


