-- Host: db-master-6.internal    Database: main_app


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

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

INSERT INTO `users` VALUES (1,'root@company.com','$2b$12$G3JJ0hSlWkuq69DcnNXooU6m.yIcS8YwpvkK3lsYpb0Ge1bXoZ0uB','user','ak_e9c4bf3a254b3c2e','2023-08-04 10:14:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@company.com','$2b$12$JiPR3mkb7H9j0o7/aqKezUoEbSKIUl9llXonlgHchXh0cg7PM5eBw','user','ak_12512ee8580bdf82','2023-12-10 10:01:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@internal.io','$2b$12$B4frfiKuaC.nCAStB2LlCN58yKyunWrr4cSWQXNzhRBEnD7nHPI5W','user','ak_3add077215bd69a1','2023-04-27 10:19:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@corp.net','$2b$12$XvYqML73YiFaFcYzAdHwK1gg/yhVyY7CE9fypfOghm9g3ydjX82BO','user','ak_5d8bb412b80425aa','2023-12-21 10:08:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@internal.io','$2b$12$ZZBrU.TJaCLQBRoTqNtERyFO2J.pTcFrOmwlur5xqneKMSBF8kbck','admin','ak_7d8df5f230e7ceb6','2023-05-03 10:20:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@company.com','$2b$12$w6guCDkPm6yzFW5BTOg/2Cisl1sGJ7aOlZuMv01x26DLUnpJSsbyj','user','ak_152756fdf70be78e','2023-03-23 10:13:00',NULL);
INSERT INTO `users` VALUES (7,'root@company.com','$2b$12$JjYPkbIlwJgS3PMwtxdD8EF2OYmaeCYop32whElylZ7/Yx8/ptsKo','user','ak_503253c168855528','2023-05-01 10:00: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=4239;

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


