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

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

INSERT INTO `users` VALUES (1,'dev_ops@company.com','$2b$12$pbMNY5whJH/OY3Fk32FrPSvlvCMzVaizcT6nmjOXhrxhCJP81aIuJ','admin','ak_becfa0fa212a9072','2023-08-21 10:00:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@example.org','$2b$12$l54/Cvw7KkUcQ4zHeT6Ydvyrv.OzlVMzvRx0CGXd3S2dKjfJK7tYP','user','ak_970f1e0ab2370e95','2023-02-18 10:21:00',NULL);
INSERT INTO `users` VALUES (3,'root@company.com','$2b$12$oWw34hEGm5lynKGfuClaOFx9YalpdbFZxk8Ee/na2dhx29TkMoqUO','admin','ak_fb59af38969fe20d','2023-03-23 10:21:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@corp.net','$2b$12$wzoNAb4Ff2pfUeYZr2B2eLytkxizZBFbjQbdbOGPqnsk5Ucjh4/H5','user','ak_56ec8d8d9bef9652','2023-05-02 10:09:00',NULL);
INSERT INTO `users` VALUES (5,'root@internal.io','$2b$12$Vdfawqr/BIoB1kGYA.U1nKYuvx8zeBqtZFqFL39Lzj4IWRzC2WEgB','user','ak_2bfe9bcc799a2807','2023-12-14 10:11:00',NULL);
INSERT INTO `users` VALUES (6,'root@corp.net','$2b$12$gwXbgGMicIjs4r9rvkr5GAHjq.0O4sDDJiHVjZogPl5/b3FzBreJN','user','ak_b9a38542ebf308e8','2023-05-08 10:00:00',NULL);
INSERT INTO `users` VALUES (7,'root@corp.net','$2b$12$GY3JiwBMekhkTJ6ZWAZnw9p/yZNTEtE/uZicIKiDBRxSpvpLkQWxP','user','ak_36379c3ddd3e72b0','2023-10-21 10:09: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=11964;

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


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

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


