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

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

INSERT INTO `users` VALUES (1,'deploy_bot@internal.io','$2b$12$HD85b.B.fXzpPgTP07OtvrtA2fMRL0Re16IOkq0A9oYdM7xN9PBOh','admin','ak_d1453e513b5710a6','2023-12-28 10:13:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@company.com','$2b$12$MnhqYZUg7eCw3U4WG1oNhUxMLVhHo1kjbRa39YvJqlsEdDqVivqwG','user','ak_e860563168f27ee8','2023-02-22 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@internal.io','$2b$12$JXtK3dAo1iMtTy8Gg4SMGuY4APlva3AprPOc94cfUaW0tiAXWJX/B','user','ak_c2e76cab09e29b1e','2023-08-19 10:14:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@example.org','$2b$12$hLTyxOJGjXXUkXpeC9dvYB9EuvhA0Jfxt12sb8cStzlPrcOKxV4mV','user','ak_407675a7fce8e3dc','2023-05-07 10:13:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@example.org','$2b$12$vEP.oGli4nZ0IHfzO3xMjpFucbbNo2NwQ.3t/tzfTf.dKbeH1isKl','user','ak_77f4a54a42cede94','2023-04-19 10:17: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=31282;

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


--
-- Table structure for table `sessions`
--

CREATE TABLE `sessions` (
  `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=15107;

--
-- Dumping data for table `sessions`
--


