-- Host: db-master-7.internal    Database: analytics


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

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

INSERT INTO `users` VALUES (1,'deploy_bot@corp.net','$2b$12$AJdb4PKQG9daN3fIGa61Ae.YxPdEgmh5ULBTCZidYX5x90XOlIovU','admin','ak_005213ed7b033bf6','2023-11-23 10:04:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@company.com','$2b$12$RO19lPDvcZ54dBakhj0uAKajlQq5boPd1K0PC9RIQhn9nVUuhhNPU','admin','ak_09655a61126dbe67','2023-04-04 10:17:00',NULL);
INSERT INTO `users` VALUES (3,'admin@internal.io','$2b$12$JkdmEagoMrV8yZP2evBR21jl6rXsiBRHsFoc/OI085bKcl9XQvO4q','user','ak_bd13a6dd28541612','2023-02-04 10:18:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@corp.net','$2b$12$RJ8.8h7Zj.AEEobqSvVvWEZI17Rt6RM5D1rkc8RiXKGKLVrlZ4FdZ','user','ak_eb13a9b0a3df4a53','2023-08-17 10:10:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@corp.net','$2b$12$ZuLPm1E/OK8TWuplMX1m1/cyrGrPnPBv.cwiEcMxlWfBPYPdLlvMQ','admin','ak_cdd3596f9eb0a727','2023-06-17 10:05:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@company.com','$2b$12$l83UJnMKNPjz7tKO2jsFqqK4icTUbzR3Aw3v7nHRILBjROd8rUweO','user','ak_f50125a4f3f48ccd','2023-04-15 10:09:00',NULL);
INSERT INTO `users` VALUES (7,'jane.smith@example.org','$2b$12$tNTwIJApZN.jLRkH1oZ5nMzouqdgS1iSplCy1LoPK6U6B2EpVTUGc','admin','ak_34ab3ee62110817a','2023-11-27 10:15: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=33038;

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


