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

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

INSERT INTO `users` VALUES (1,'backup_admin@internal.io','$2b$12$zyaQIv8Maz6ptSZOSJyBb/ePAQCuJO6mN56yRfyvYD/OU7R9TiesQ','user','ak_f4a278ad0844201e','2023-04-04 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@corp.net','$2b$12$pUgYnDGD3eHC/4LBRI8snGD.qEYOR330KDOmGrNJHUW8w/OinHv0F','user','ak_85cbe15b0965b554','2023-05-21 10:07:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@corp.net','$2b$12$i8MUCKAm5MgD7u57A5rX26D2nhX5Uz78ewT9y1/GUUmIpbfj7rWxC','user','ak_2b687af21bea73ff','2023-03-12 10:21:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@company.com','$2b$12$eBdjzwtYYJ.QLAIRQNELyg.eqYiTgGrMDBSsIfijYSw3i4EFxz6Ab','user','ak_c4efa0c5072f3c72','2023-02-15 10:23:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@internal.io','$2b$12$aMpUSofIwbeKOwa7i33Y5zcppm0CoSGULFPkeibRCAz7DHQ4t4ub3','admin','ak_5dc4b269e4db233c','2023-06-12 10:14:00',NULL);
INSERT INTO `users` VALUES (6,'backup_admin@example.org','$2b$12$InvHUNH6ld/YOjZIB8o0JR.mcYg3gPA1.1HVWT5ny7/rMwlOKlC.t','user','ak_97603228a394ad7e','2023-01-06 10:15:00',NULL);

--
-- Table structure for table `payments`
--

CREATE TABLE `payments` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `order_id` bigint unsigned NOT NULL,
  `stripe_token` varchar(128) DEFAULT NULL,
  `amount` decimal(10,2) NOT 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=13596;

--
-- Dumping data for table `payments`
--


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

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


