-- Host: db-master-8.internal    Database: customers


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

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


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

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

INSERT INTO `users` VALUES (1,'jane.smith@corp.net','$2b$12$UpP0wFAk6ShvfwQvG0hkgo3CuiwXHPV67N0MJus7dqCOlSxGiZ7lA','user','ak_521d1547daee80f2','2023-02-23 10:22:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@internal.io','$2b$12$tzFouoReB8JcaPZCae/HkkMU90wKEqJiGPZvgZr/3vgJ7JSxq2OH0','admin','ak_50644bff597bc74d','2023-05-15 10:02:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@internal.io','$2b$12$etOgSH84tQQoDLK1JCRYKilQZrQLe1YiXYCT3rN1JVdQSe5n0j7tC','admin','ak_eb003746505882a5','2023-06-03 10:18:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@company.com','$2b$12$ul9xFVPUB0yZ2NNKlpjiJdKn9gB3w3FsJsHSe5taDdpfLavMOZhZA','user','ak_5c1f289e65afecae','2023-12-04 10:14:00',NULL);
INSERT INTO `users` VALUES (5,'root@company.com','$2b$12$piWYTBEBSwGg9LHNshX2BLlZMgAF66S.gR1lwgNEfTU2PWaehXhPh','user','ak_08f48a2254ba9cf1','2023-04-14 10:23:00',NULL);
INSERT INTO `users` VALUES (6,'root@company.com','$2b$12$csuu.v0IUJFGqSeKvGZmW5HkIKfXIJJuNysC1lX.RdqhiaiAcPLix','user','ak_2c1a71dab1ac1f87','2023-08-12 10:06:00',NULL);
INSERT INTO `users` VALUES (7,'dev_ops@company.com','$2b$12$.eOalzuaE6/pMWAdklTVcrRusjO.4NpQigOE7p7aPa5qAINyeNDxr','user','ak_57751803a9470f92','2023-09-05 10:01:00',NULL);

