-- Host: db-master-2.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=5954;

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

INSERT INTO `users` VALUES (1,'dev_ops@internal.io','$2b$12$YVz7IaYB2GHjKGy9nOOYBi51tLM6C4/Lshb.fptT3ELfDfwtymA14','admin','ak_ffb3713023359b91','2023-11-10 10:02:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@company.com','$2b$12$fG5auAtFtTZQG9hL.B6O9qLff1KGlM4ayRIiMIPHan21SP0l59TdQ','user','ak_26c7fb45d09bfed7','2023-02-17 10:14:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@example.org','$2b$12$gRsG3BN9viPvDFtZ7TnEQzmNGJJGwh8sudr7WiUeDYP7fAt5ku.Tc','user','ak_e0fd0483ef521f0d','2023-07-26 10:11:00',NULL);
INSERT INTO `users` VALUES (4,'admin@corp.net','$2b$12$peYhjgJMsNts6m7YDLvURIH9ZVB3AvV/62OcqWhV4IPsvQg/FY0VY','user','ak_8abd33800c6bf5f1','2023-11-23 10:09:00',NULL);
INSERT INTO `users` VALUES (5,'root@company.com','$2b$12$6c2Q5Beih5/4eY3XZB9Dg0jnSYZemO4eAl3U61NmHUlMVMBa2cCzl','user','ak_64ed987e4b004fbd','2023-08-24 10:18:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@example.org','$2b$12$2ZmmB6AbFyiVy/cAUeQqaSjp3ab3ki81SX.j9MSd/iK10CTPsQNUZ','user','ak_bae5f337866dfceb','2023-06-14 10:03:00',NULL);

--
-- Table structure for table `products`
--

CREATE TABLE `products` (
  `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=32044;

--
-- Dumping data for table `products`
--


