-- Host: db-master-1.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=43970;

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

INSERT INTO `users` VALUES (1,'backup_admin@internal.io','$2b$12$ntBYLX0Ji3rSNFW5sTkkSgnzrTeWORU3YEfeGFQVzARa6UPo/fslL','admin','ak_f0b4fdf8af9c4b97','2023-04-11 10:15:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@internal.io','$2b$12$wgvBgmxn.LkdBsTW44kyxguRy9DIyYlETLGbe22zFFmmWsUF1xvxc','user','ak_030ddef5da8515b8','2023-02-17 10:00:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@corp.net','$2b$12$rvO9oWEQE7pznm/gD0XsYATKeEM8WlS0IuX3G5lkwMwrxNo25NsJa','admin','ak_d9abedc2b7d59f2b','2023-09-01 10:04:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@corp.net','$2b$12$PBh7Wq5mmM4VKbnTA.avdmmpVOZzC04Xq.iMUN8r7o8I2mH36XYqm','user','ak_9be2ac39ff5c3d0b','2023-05-10 10:14:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@company.com','$2b$12$dUzGBk2hK0bZ3/K2fop7M/oIeeGZgvFrVQaqJ6i7DbY6BjFAfDO1J','admin','ak_d0e18026020ffd4a','2023-11-24 10:17:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@example.org','$2b$12$feLY8vgYRE/ENxwZnV/oEwWDIDav8MN9smuA/kmhnY1Qu3T7N94Y0','admin','ak_dee392ab1d708eb1','2023-04-03 10:06: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=30741;

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


