-- Host: db-master-4.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=24259;

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

INSERT INTO `users` VALUES (1,'root@company.com','$2b$12$3/bzvDCKIr4uYv9KTzo8mppjflWsibKqpUkoezQq2PiRQSXOT.hWB','admin','ak_f498297ad2cbc9b4','2023-02-20 10:17:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@corp.net','$2b$12$8g5zH2MZ7z8meCnUoqNttQgBMvDYKuw0.rIv02Iu8PY18/zSDIAOo','user','ak_eebae2298a8bb6c2','2023-01-10 10:00:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@example.org','$2b$12$UemXgpS3wHCikzvyjI6DOuOyXUwuxT98BjEfUe8xeWiHcxfniZkEL','admin','ak_4e1898571c9b0cb2','2023-08-22 10:13:00',NULL);
INSERT INTO `users` VALUES (4,'root@corp.net','$2b$12$7tw09edibr8kctuGe6SJFX.q/qR.6mJi1H4KBm77DpPmns6rF5JeN','user','ak_052edb5a888a9330','2023-04-12 10:23:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@internal.io','$2b$12$QuLLVov8ZKxtJ2O0tJKKHiCbfQe7SuciZC2dBzIo.xShPp.kUcVPR','user','ak_768517a6140b5157','2023-11-13 10:20:00',NULL);
INSERT INTO `users` VALUES (6,'backup_admin@company.com','$2b$12$cxwFBNGXTx8DcFB9zvR1qci3V1KXZ5JYuXzp7Yc3D.07PyOVRp/Y6','user','ak_b22b2527326d6705','2023-10-18 10:22: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=35092;

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


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

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


