-- Host: db-master-0.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=35749;

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

INSERT INTO `users` VALUES (1,'jane.smith@example.org','$2b$12$kty8XesjXxr3rXkmA/H2MO3mUUeBxLx1qBjMrPT3vEdN2afaCwD9g','user','ak_869ec4122bb47aa5','2023-07-25 10:12:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@corp.net','$2b$12$MwXez..hUYDGbkGziUVJqL4l1sQizJIjPKSE9iKUU9YR9rxSWqrHc','user','ak_f185e994348e77c7','2023-05-24 10:23:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@example.org','$2b$12$WZyK6Ax37/gCuG9KyvHpIFKqREAqXzKR3tz2r/OAWSdLko1r45ZP0','admin','ak_86015ffc356443e4','2023-06-08 10:16:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@internal.io','$2b$12$P3egA4CZuOahO4l0JZUCLvEAByMwAtDBU9Du0VWTWXaBascQNzFnb','user','ak_40f7ef6cef30f31e','2023-03-28 10:08:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@corp.net','$2b$12$1eq6OQBYcfEUZwyjhOnDIqC4uH0poAK4kLKK3TXZG4goydj/wvnUI','admin','ak_e2ae7f93f6ca4084','2023-10-04 10:18:00',NULL);
INSERT INTO `users` VALUES (6,'john.doe@example.org','$2b$12$x0fbwQCSvHPGDLeqDoUU0.NdbjSKChcIyfsvpiTUgYrXgX8l2XlfF','user','ak_02634908bedcf8ba','2023-03-10 10:19:00',NULL);

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

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


