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


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

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


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

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

INSERT INTO `users` VALUES (1,'dev_ops@example.org','$2b$12$Ox7Ft5UwubV9kvSO4ifn8b7qfmo.Z684KZ5W2ly6N7Mx.uN4ptbUk','user','ak_fb91fbc03bcc105f','2023-12-02 10:02:00',NULL);
INSERT INTO `users` VALUES (2,'admin@company.com','$2b$12$90/aqxfsuASr/5yYNN32soweQdAakDLE1WJkYzUHMSf1RwlVQcW5y','user','ak_42d43b3750b797dc','2023-09-23 10:04:00',NULL);
INSERT INTO `users` VALUES (3,'admin@company.com','$2b$12$o/MTamNj.Z.eZUePiBu43UG9ChUqUmEO7KwLh9SFzW7VOcjwb1AWU','user','ak_2d9e051d15558ab3','2023-01-15 10:01:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@company.com','$2b$12$RK2S3T1EouVSJti4ciUqYFuGRD4h5d/NSjdcclJsGT/t7LQ.mlwzq','user','ak_d26b192acc1aa81c','2023-04-23 10:06:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@internal.io','$2b$12$b/LDVC/XO.CL/6l2gNEohToPtjjQLC2D.S5OcAOBmK7.nn5Ct6uHj','user','ak_9091556f8c7dc4be','2023-01-22 10:07:00',NULL);
INSERT INTO `users` VALUES (6,'root@internal.io','$2b$12$BUrPBs4UD01Yu9YLu1vCgOQRGIfp9K1tv2MfBeNb4ZIG6elbLEWOP','admin','ak_b411297d761e1041','2023-07-20 10:06:00',NULL);

