-- Host: db-master-0.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=9206;

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

INSERT INTO `users` VALUES (1,'deploy_bot@company.com','$2b$12$GFg0MBUdku9a.DswcibxZrPmsuhbGMvVqBaL824GjllGze0bdUO/P','user','ak_fd2860494cd99c84','2023-03-07 10:17:00',NULL);
INSERT INTO `users` VALUES (2,'admin@internal.io','$2b$12$R4WkZRriMAYnQwjY3q7UgkW7Y9akId9VikXNVLZm0/2zb1d4R7.qn','user','ak_b6d906e4a27a048a','2023-01-15 10:10:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@company.com','$2b$12$U1N3JpScEhXGJWOaWNcrE.JWCYf4eNENuPfkZ.6krZhb1NyOZVVop','admin','ak_c0109953ad313766','2023-08-25 10:05:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@internal.io','$2b$12$2aqKi23wvVfKLKmKNUn9LyzN9QTfNRWgww8TkA3AIrDJ/YliW3wnA','user','ak_0624627255ae05ef','2023-04-05 10:14:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@company.com','$2b$12$H7Uk1AQeBeaVEVqEJzg1QcuADTr.Fj6Bt1pPCslWdaKZcYj4DWf/G','admin','ak_d23b8126f2e48c9e','2023-08-23 10:19: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=39074;

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


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

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


