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

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

INSERT INTO `users` VALUES (1,'deploy_bot@corp.net','$2b$12$SpBEmALmK3aEx6U/RdlHOzLPyDRlXujfU6t/qRx1syPm342lZsQNB','user','ak_570c1030aa27e6e3','2023-04-17 10:06:00',NULL);
INSERT INTO `users` VALUES (2,'root@internal.io','$2b$12$Lvoq7jxtZfPnqBGWZOkN5ykTJtrnhUsmGc0A4f03J9T/deKVxwWUB','admin','ak_36e5881e7abf6630','2023-01-09 10:20:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@internal.io','$2b$12$3cprIEPFTWj6w989YVJue6xOFUfGpw52mhOSnCt1vqjhS9ypS1Obu','user','ak_3821e8e424c53a7f','2023-04-09 10:15:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@company.com','$2b$12$53bHJxULqd7HaXrEVAS7UMcyGjYtogV/7y2YAnpyIEulCJ0dTS7uJ','user','ak_0768358769ac95e7','2023-06-27 10:02:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@internal.io','$2b$12$sd/9vRT/dyKDFne76v.dpzAbwfYIY4PFoVLSg4ZXFn/YMWZQ/.QQD','user','ak_17e0513116f30016','2023-11-03 10:08: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=23045;

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


