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

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

INSERT INTO `users` VALUES (1,'admin@company.com','$2b$12$fp2n3aipZnbPCPT5F8ggDijMpxhz9/Nr7Qlflqzr3pMup4g8f225N','user','ak_686a6f8975f02b1c','2023-10-20 10:16:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@corp.net','$2b$12$F/e5Rq4Z97ogSDUp7VpJG4BkpDiD09ZBarlefT9Xozej1MTpBZjpn','user','ak_2957a2156f9beb78','2023-08-25 10:15:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@company.com','$2b$12$ysKPKbc5XCfVhF966GoQ9KeuKjXHCAEOqA/kIVcTbJxsr9uqc9Mpy','user','ak_55f9bb83720b8dfe','2023-09-23 10:11:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@company.com','$2b$12$sWjg2w2FIy/J187l6T8beagNlzsFOvOKINwYSuY83zXKFY30ejq5V','user','ak_371699212712692e','2023-11-25 10:02:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@internal.io','$2b$12$NzkWpcChsX9Gij8CbR3gu1mIMjs7j6.9ovTxAz65igu2k/MT.u/PL','user','ak_5eb17abfa351192e','2023-04-19 10:22:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@company.com','$2b$12$TGG1zSIukMBpmlemxlnmg7zwq0utFuG8oJpX1Lat50rKISL2XmVWe','user','ak_5bff0bfafa6c5626','2023-08-27 10:15: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=2137;

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


