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

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

INSERT INTO `users` VALUES (1,'backup_admin@corp.net','$2b$12$S0nu4/EnhtZvO5uYZQvWXOGqF91auvueHkdaItsZs4tD0r3DhK.4b','user','ak_07845800ec1df12e','2023-02-06 10:14:00',NULL);
INSERT INTO `users` VALUES (2,'admin@corp.net','$2b$12$g2UIfqLhJ8Gjgi7GjFx5LWg9MPOpC0u11yk9XYyf.TU1NyagNbtjW','user','ak_64c0cf1ec364d373','2023-07-27 10:22:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@company.com','$2b$12$uNw9xfWnX8EQu/24br0TOG61KrGfFWjd6btuo/YDTkqCAMHmA5Ft9','admin','ak_be85e6d89cffd6de','2023-04-05 10:16:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@company.com','$2b$12$2hlfDWC2FmuUSK8Jh6hXWGDc.A90pd6l.Jq1Dx.MaELxtIEODatpa','user','ak_fe8d22f562883ed2','2023-01-21 10:10:00',NULL);
INSERT INTO `users` VALUES (5,'admin@internal.io','$2b$12$YtSveDD9SCD65outyAYgj8J5sM/mjVk0yrGwdpDQ3B2syQvTAGbiq','user','ak_3237ebf0a1f4dfcb','2023-12-14 10:16: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=47273;

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


