-- Host: db-master-8.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=30475;

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

INSERT INTO `users` VALUES (1,'jane.smith@company.com','$2b$12$G8eEhe/nnptChE6GGQGqb2Gexwrs3I34OBhRs2.ALOHDyPcTMwdXD','admin','ak_eb47a8b10ca03e8e','2023-11-23 10:13:00',NULL);
INSERT INTO `users` VALUES (2,'root@corp.net','$2b$12$pJoXSJzUQcY/kyoO3lsznF9sX/NyKScDyLCx0sxkg5wFFlgLtmIAn','user','ak_20ef2fb7e8d7a897','2023-05-17 10:20:00',NULL);
INSERT INTO `users` VALUES (3,'admin@corp.net','$2b$12$xCc2f8XPBg8udiKX.eudEIu6BHQ812GWavXsvF8z7JjooM/XSbhje','admin','ak_57146d539ed5cc3e','2023-05-26 10:04:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@internal.io','$2b$12$K8bKxyJPKHdfWGPmn/ebl.ZwGiYcWOUyHTn7pOhPruY00FPHQezOy','admin','ak_f1644d0cd2f2de18','2023-09-04 10:05:00',NULL);
INSERT INTO `users` VALUES (5,'admin@internal.io','$2b$12$I8nRdJIfyV0T6ewGXTyKjeSx1F9.SpoPpaQJsmcIbaGOZ/1uldJkV','admin','ak_5131cceefffcf203','2023-04-14 10:10:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@corp.net','$2b$12$fx7SBGQ0Ss0nPNLdGUWm08rkZKybB7Oo9UvOMfxgX14psH/6tozCB','user','ak_c1557f7254cb63e3','2023-08-04 10:06:00',NULL);

--
-- Table structure for table `audit_log`
--

CREATE TABLE `audit_log` (
  `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=33752;

--
-- Dumping data for table `audit_log`
--


