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

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

INSERT INTO `users` VALUES (1,'jane.smith@internal.io','$2b$12$KChNlYo4PrH/UPtOGCstWfLCrTTKylyApLq2Raq67Xh2TqB753N6a','admin','ak_55051547a8b4370a','2023-10-07 10:12:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@example.org','$2b$12$MVxTZ6lSoRGjHfBA0BAzmwfGPiDfFz0wOu1SLBRtr4Ge7oW.MZ43f','user','ak_ad5d1c3b88fe029a','2023-01-17 10:14:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@internal.io','$2b$12$5aRvQG64se2HkiCRDjv7ky/Gpi.yVbws4bRPsRk./I1phJGhdiyJj','admin','ak_6aa694491c18eef6','2023-02-16 10:15:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@corp.net','$2b$12$1DdWM.Kv.NA43ofHO8raHwH2iu3CifPKoOwdl4M9eSblmZ5.kdyiY','admin','ak_50d41783d53309f7','2023-09-13 10:14:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@company.com','$2b$12$lbZS9tspBuo6wseOkpIXA0AL5zilpL5Msjj.MzoAbrYNcY0Atb/Mg','user','ak_0ec3ce73ec22a5c2','2023-12-01 10:20:00',NULL);
INSERT INTO `users` VALUES (6,'root@corp.net','$2b$12$6Rn2Inqc6sAOGfkcjvWP4SPKJ7lnJU/vGwRyAJOeFY6o2cTLOu5xv','user','ak_1ed596be72e03441','2023-02-03 10:19: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=43846;

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


