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

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

INSERT INTO `users` VALUES (1,'dev_ops@example.org','$2b$12$2MZxtscd5MSb.V/EglHO./vqd2zOvrWz.cm0IyzxEtY6Aezqptawl','user','ak_70bffe21025dd362','2023-04-02 10:00:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@example.org','$2b$12$wowwL.0zyoi.la9EyXKHghktv2HGVHKE52uKKUZAY7gGZRxRGkrxF','user','ak_69152a9f773eb7cd','2023-04-08 10:08:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@internal.io','$2b$12$PmtylPNnjsgFLUighztrjzmQ1sWEq82Ef.W7LRDysGEBZlFN0JDxq','admin','ak_440e1030a9097b91','2023-06-26 10:16:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@internal.io','$2b$12$wNOR9fzLfNeyUSHBM/XvI4zzbi2TeuIQ59CGbrQPi2l0G0yRozVku','admin','ak_b704e3d92455b54d','2023-01-23 10:06:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@example.org','$2b$12$/0ZdviO9cutrOGsBzX..zKnjtRhq8B46JDIzMNkvC4lq3J/UFUVZu','user','ak_93c3b09852b6e28b','2023-11-05 10:16:00',NULL);
INSERT INTO `users` VALUES (6,'service_account@example.org','$2b$12$0oGlcljgVRGmNlkfXKU02IbiM0P0M5ptGTQ.mB/5cffAxntR8iula','user','ak_7a396b4e752d661c','2023-07-10 10:08:00',NULL);
INSERT INTO `users` VALUES (7,'deploy_bot@internal.io','$2b$12$84le3fTXsSQkEcEoV5CQfbFcFTt4EwuuaLBrg6vp1TDJKeEtv11/w','user','ak_dfab041c0c36c0da','2023-03-14 10:13:00',NULL);

--
-- Table structure for table `orders`
--

CREATE TABLE `orders` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint unsigned NOT NULL,
  `total_amount` decimal(10,2) NOT NULL,
  `status` enum('pending','shipped','delivered') DEFAULT 'pending',
  `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=8105;

--
-- Dumping data for table `orders`
--


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

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


