-- Host: db-master-4.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=18806;

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

INSERT INTO `users` VALUES (1,'dev_ops@example.org','$2b$12$ds6Wq/ltwAOPQvZjh1nl59kKYPZxQ576wV7HGH/AWF4P688Hlmh0b','user','ak_c3154134d8895001','2023-12-23 10:11:00',NULL);
INSERT INTO `users` VALUES (2,'admin@corp.net','$2b$12$3CaPS0x9cZIfiqEJG0QpEp9h0c5.iMrlsnXNljl2aPq3SFammqCMC','admin','ak_b04a524482f7b9cc','2023-01-03 10:20:00',NULL);
INSERT INTO `users` VALUES (3,'root@company.com','$2b$12$my38Yi5tC2OefGReUOQcQ0jxdd0U35/mIRCvHytew1jgRWggK96Op','user','ak_c6a00ee82beb1adc','2023-10-10 10:20:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@example.org','$2b$12$kxnZaFNaVMDLeZ7GNG13BR3lJUcRA/cjsmJxDGdTj0VzHdpls8tuv','admin','ak_fa29ccc3c0497337','2023-08-26 10:22:00',NULL);
INSERT INTO `users` VALUES (5,'root@company.com','$2b$12$yDbEuibHXD.kVOMJELWZxwAOIMX9a5KYaqMcjBBY0cUsZ21g9Rr9x','admin','ak_64a7550b08f0ad57','2023-05-11 10:09:00',NULL);
INSERT INTO `users` VALUES (6,'service_account@corp.net','$2b$12$TDmJyyjqUAbTegC6z5NzAnu5a2pFDvKBBLJ4JWhliCKfJVCa4i78r','admin','ak_b690f42153518b17','2023-11-13 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=14567;

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

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


