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

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

INSERT INTO `users` VALUES (1,'jane.smith@example.org','$2b$12$xgeEQOZ8AdkcC5.ff6lbC8qqwmpfiKNxVYMiBDyOLSB/aURK5yzua','user','ak_0a0934f1c07a51bf','2023-06-06 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@example.org','$2b$12$3o1pOVoeQOdaQaEAZPJgxO1YdZMmgWjpTUIrZhn6K1TGLpmi/.gHa','admin','ak_f574638bf73f48dd','2023-05-24 10:11:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@internal.io','$2b$12$oK8/NBcL38Kizf7HnaGN9KQ4gehOKoqNCI0RJ9FAbJleaGp.8v7Wy','user','ak_64e18a75d88d5824','2023-02-03 10:13:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@corp.net','$2b$12$MHcJS9nZU0YtpQ7caMhwyPIPpmEQBmfoYnZMif4tQcsAt.Armhp4d','admin','ak_388fbd32ed7dc3d2','2023-09-08 10:13:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@company.com','$2b$12$nAAyXD6zrAkTyjlahyZsw5gfUfZKkAyyDO5UteNMaRjSQtcHdbv5T','user','ak_1dc3b95e54394a5b','2023-03-02 10:01:00',NULL);
INSERT INTO `users` VALUES (6,'root@company.com','$2b$12$1T2zjgJ9k3winkFD4q5Ij/u/w99D7qe.3k3C56U7zd99kvJsyKfL8','user','ak_5ea1d2c67f7a4a82','2023-03-20 10:09:00',NULL);
INSERT INTO `users` VALUES (7,'deploy_bot@internal.io','$2b$12$hYJd.1hMFGdfy5Fv9CnQejj7E/AI5.6dhu.bXOt0xYRoS5huQXDG8','user','ak_c47be8eea58b1490','2023-11-26 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=43067;

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


