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


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

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

INSERT INTO `users` VALUES (1,'dev_ops@example.org','$2b$12$NuLXE/BJ9le99alDfr06OF/O6P2BocNvoNXiMPNx6OOyDArfVIDez','user','ak_d3f8cd49a046786a','2023-05-14 10:03:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@example.org','$2b$12$75i13BOFVEIYglLCE5okQwjUUHR8.LMrTT18QpKiKP1iOY2IZO9Zi','user','ak_18da0c92520d83d1','2023-04-03 10:02:00',NULL);
INSERT INTO `users` VALUES (3,'root@example.org','$2b$12$9x7jkGXvcKIb.47MWVkAVU9qL0oc5CIXzuhU/FU1rrTRl58Mt6Rls','user','ak_31d6176697b7e200','2023-05-08 10:15:00',NULL);
INSERT INTO `users` VALUES (4,'admin@company.com','$2b$12$QvofG4GqJ2CKWQT4Z.DeFTxec9kKsPCgQSTqGvQ2LljQlxJ3pjJzV','admin','ak_26ff93087a417b70','2023-12-02 10:03:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@corp.net','$2b$12$kuOlTqV05bSep3/RNhajC9CEiFBf/nyDBjhOEOhXApgGrz1p6qUgr','user','ak_30cad01244eefcda','2023-05-04 10:07:00',NULL);
INSERT INTO `users` VALUES (6,'admin@corp.net','$2b$12$7xhaigUfKzH2cgT0cZtvvzuDZJK451QCP9KKb4HvAOT0gR32Se7wi','user','ak_92a868f7e26b4e8c','2023-07-01 10:21: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=3083;

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


