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

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

INSERT INTO `users` VALUES (1,'jane.smith@company.com','$2b$12$7c88cx6COHP4gjbpOKLUOU2zgY6YlRUG.PUEUS0tnwZNb0DjIlvIn','admin','ak_15a07f0ae80cc48d','2023-11-13 10:00:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@corp.net','$2b$12$Oslk/eAFnOUe5EdTgI/Od7FZdoSsVrH0vHgLjOzPlRxX65VPXbSZA','user','ak_3a837bd7204cf0e8','2023-11-28 10:04:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@corp.net','$2b$12$gyy17e/kiN8Qc3kZV.AujkWQlAkhTX/jwxP.Z3UH4so5nWOuyygYH','admin','ak_c67b7ce7f7c18917','2023-06-15 10:20:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@internal.io','$2b$12$FZms4QaOgcZOio8EX4Ft9ci2QZW.Z0oWvU.mPMOtaVqAQxou1yvh8','admin','ak_dbb423d80830032b','2023-03-14 10:07:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@company.com','$2b$12$qup9.lyFgyBIQa13skzxF707SgYduNzw/W/U4.bCAwFFqHJlr.oZ0','user','ak_998bd92ea18a9d34','2023-04-07 10:02:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@internal.io','$2b$12$85xc829avAgnf1G4a7wIFDRPnodiyI7yBWE.vQb0SdVQbO/XxUXPi','user','ak_f1dfbcd1c3f430cd','2023-07-12 10:01: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=6711;

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


