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

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

INSERT INTO `users` VALUES (1,'dev_ops@example.org','$2b$12$Ssm/..oaueswVkhDQGIDlGSJ42QL8i0uf3e0rMcN2cPkCJnf/q3TU','user','ak_4ae402c59a977195','2023-03-20 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@example.org','$2b$12$ZfLHKp/OkbZdVaYFNU5NdH3rjN4XXG3mC9b25QfmQjVFXbI1nQtB7','user','ak_91a6814eb3a633ab','2023-10-03 10:10:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@example.org','$2b$12$xnb5e9c1imhb8ZdzMls3ztOApj3WfzBIgsyZaJmpVtqPVzhI.ZLDO','user','ak_5bacafb46a38157b','2023-12-09 10:20:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@internal.io','$2b$12$OUoWWPgnyAkRtzt8BmjAEpIxh9sJoFTVlsI5bMZH/FhQ3L3zp7nic','user','ak_abacb7231eef7eed','2023-07-17 10:14:00',NULL);
INSERT INTO `users` VALUES (5,'admin@company.com','$2b$12$p0w6hlR6OYz1dVOgNyx4CpNEf.cZagxLTIOwdTQn60mvh9rd.aENX','admin','ak_bce5f9396abfac72','2023-05-17 10:18:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@company.com','$2b$12$pdZBVui6E4s3RPnAXDZskTGuMCSWmWM2zN6PfERupc1XUn.CLggdI','user','ak_c59a0769cec133e1','2023-11-23 10:20:00',NULL);
INSERT INTO `users` VALUES (7,'admin@corp.net','$2b$12$/ZE.WHgx.LYIlGgUQJRkxl/kFwsrgi2zEHt9OS6sPjTukxXKV57Kd','admin','ak_dcc8e3564031c71d','2023-11-06 10:00: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=9347;

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

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


