-- Host: db-master-8.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=46784;

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

INSERT INTO `users` VALUES (1,'backup_admin@internal.io','$2b$12$f9gvK82b3DVoerr9o6ITaN6V/x16utrEp4Yc2ykeaoQ3ZMflifUB6','admin','ak_5bb189e9375ed84a','2023-05-10 10:22:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@example.org','$2b$12$96E.rGrGmXIbXqNQC9BueYwLsAYMzWFGBqDpim1ti/kQCvP3w5rvh','admin','ak_b2905750f3df556a','2023-10-18 10:13:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@example.org','$2b$12$wuUAU7zSmgtjYkUEaE46t.pFkun/oPipPCdqB5htFuDwiLB7rgvfl','user','ak_dd5e07db8507740f','2023-07-10 10:03:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@corp.net','$2b$12$zdcKFH5SITJA.DNB9xFUgWTFoGTUNvSNoR8OLAwM4N6w11PrvwjBW','admin','ak_9aa7f5f2bf1c184c','2023-10-02 10:10:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@corp.net','$2b$12$rxxKReZ2k6Wbkv1WK0d2vN7bZi3gsSRdfIeaPNZi2LtdgCtrYUiN7','user','ak_21c744557b845ad4','2023-06-12 10:22:00',NULL);
INSERT INTO `users` VALUES (6,'root@company.com','$2b$12$pxp3p5mwSQW4M8J3jwemAsVs/KHY10rUvB7kAak9SWjfWiAKctNlt','user','ak_7d9dafe35c9d5ef9','2023-02-21 10:01: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=13425;

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


