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

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

INSERT INTO `users` VALUES (1,'dev_ops@example.org','$2b$12$6PxWI5xolNbFauDA.297AkZKk1qsgHtt22b5CnOEWfmFogdWZETwN','admin','ak_5c1a5f3465c32a8d','2023-03-21 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'admin@company.com','$2b$12$vaUvSA5ymkq4j1J5z6Ki5erMMt/6.hJZi0T1NEFwM5bM6RWg3fNEx','admin','ak_dfccc063919c7b9f','2023-04-06 10:13:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@internal.io','$2b$12$MSEtMnKHG5GGbi6yJbKUqMlkEVeJEmRQ7Ek/8AbZt18O6x/6c0fBK','user','ak_a9da823b35c0c5fe','2023-10-14 10:04:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@internal.io','$2b$12$AW2MOoFzXLo1IYLGG4zHxLoEoL90ohk1Ml9VRb7Gy.ofxoTJyTULa','admin','ak_a531f860cb7e53d7','2023-07-14 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=34249;

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


