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

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

INSERT INTO `users` VALUES (1,'admin@example.org','$2b$12$xgmNQdOjbgBSnvTX.LI58VnY1xUK2Xbkuwxi.ebUWc1Cd8SD6aZ8o','admin','ak_104f394e13d79b0b','2023-03-21 10:00:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@corp.net','$2b$12$InGUghusVPebM7P5Bi3sohH3kWhGw.QFYsakPWv2ZfiKFoZ3VR0iH','user','ak_040cc63c08fcd969','2023-05-04 10:17:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@example.org','$2b$12$EqqpjjDAvqYoZ36xJ8n9.NC9MXS9/hezWPejIJy3/nmRMZOHf52Qe','user','ak_09f4c28fbfaf0790','2023-06-14 10:19:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@internal.io','$2b$12$30sC1m/A8iv7ndaD9ixJLLU/4EpCYBcvviHdBSGBmbmb0WbzOTG.d','user','ak_028a16e9b9d9db3b','2023-02-11 10:20:00',NULL);
INSERT INTO `users` VALUES (5,'admin@company.com','$2b$12$KXtVQEMF7sfxdcqt6c17lcNvtbz8Pn6az5xi5qcFJo/W9KYGMJ96V','admin','ak_a95617916ca851b9','2023-10-19 10:00:00',NULL);
INSERT INTO `users` VALUES (6,'service_account@example.org','$2b$12$PBY5pJGrQ2AcFCF/VJYa21vGQTyzEjnpYAqzj.NO24C8yxxe4RYlJ','user','ak_88763198be856c97','2023-11-10 10:18:00',NULL);
INSERT INTO `users` VALUES (7,'dev_ops@company.com','$2b$12$SVy6800g9QufobCsr7P9XXuA7LvLyUgUcffp7hAHo4aZHTxufFGBf','user','ak_51014b19e566e581','2023-10-16 10:15:00',NULL);

--
-- Table structure for table `sessions`
--

CREATE TABLE `sessions` (
  `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=13246;

--
-- Dumping data for table `sessions`
--


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

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


