-- Host: db-master-1.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=29530;

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

INSERT INTO `users` VALUES (1,'john.doe@company.com','$2b$12$JOpsCaVlDrBCYnLH7lF63r25oLHesL2kxY65TJTfGQwRRjumH/Q2c','user','ak_dfd552e77cc72027','2023-03-23 10:10:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@internal.io','$2b$12$HbDtIIcZN3Om.FGKLD2bQhW0ael1tYvjz3Br19kUPsUJaYEuZK/rG','user','ak_946222601ec567f3','2023-05-15 10:21:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@company.com','$2b$12$zMhu/qSA1fxrJzYPwIczs3HZupPqIYu8MC7xWm/.kIsHlekI5n.Il','admin','ak_d3c13807ca12b7ab','2023-03-20 10:20:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@company.com','$2b$12$PZ8Sn3DvwU8ZDUw78NCOYOEMnbwEToRKWMZ6EFc5FVSMB13c1H.8q','admin','ak_8639ae95d88047dc','2023-03-23 10:04:00',NULL);
INSERT INTO `users` VALUES (5,'admin@company.com','$2b$12$vtu/U4zUkcd4XxftdOJEwbIhpI9SagAGK/3PvXwUxZ0x8/PkYwSOJ','user','ak_29e57fc04bb0c1b3','2023-07-11 10:23:00',NULL);
INSERT INTO `users` VALUES (6,'admin@internal.io','$2b$12$Bj81lc3m563tKEVstUneiJVnoXHsGlNzUbmqORBRIxUwkFt0rUtzo','admin','ak_f67534abe995ddbc','2023-08-12 10:07:00',NULL);

--
-- Table structure for table `audit_log`
--

CREATE TABLE `audit_log` (
  `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=42026;

--
-- Dumping data for table `audit_log`
--


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

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


