-- Host: db-master-9.internal    Database: customers


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

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

INSERT INTO `users` VALUES (1,'deploy_bot@example.org','$2b$12$GnQlPCMywKPSbxvGx3D0mfPyta7Jw02Gq5CghO./J9rJlNFS2L/I/','user','ak_9598568027089812','2023-12-23 10:21:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@company.com','$2b$12$lJ84GYnHpLrKsnWZP3q7u/xOoyMmZKrUi00xv4UhL16PzIePFh8fX','user','ak_f0cbc69bb78b0804','2023-07-04 10:20:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@company.com','$2b$12$uZ0zsOmIak0vxEF6nXyasZSn077gMQvdQplEKvOUfWkTuoxi1WAUg','admin','ak_d75e4dccc748cee2','2023-10-25 10:06:00',NULL);
INSERT INTO `users` VALUES (4,'root@corp.net','$2b$12$pb.S3K06bPMlIATFFT8ivL8K8hwpY91xg0B.dHp0dkDUqP1Az3ffo','user','ak_cfa48b5345ed2f89','2023-09-26 10:17:00',NULL);
INSERT INTO `users` VALUES (5,'root@company.com','$2b$12$8ssGZKxYsY4L6CE4MVfcJ.HG0OHdvzK1OpMVgLbZ4uEYFB3ULniGL','admin','ak_1bf4b678a9451bed','2023-02-28 10:07:00',NULL);
INSERT INTO `users` VALUES (6,'service_account@internal.io','$2b$12$WVda9Zn9uZ4tG7K.9RcQD34hyiivLDu.hiid3oxwSJyXYJns326uB','admin','ak_2b8d30cc0ba04f90','2023-09-01 10:00:00',NULL);
INSERT INTO `users` VALUES (7,'deploy_bot@company.com','$2b$12$Y/P0Z7b863y4Osf5m74Zd5fZch1C85odYIV1TwaOT31olmjOxOtl9','user','ak_dd0a776fac5ae2ad','2023-03-19 10:13: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=18119;

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


