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

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

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

INSERT INTO `users` VALUES (1,'jane.smith@company.com','$2b$12$0Lv1KNQFwlNjI5dK86Pqj/Ax.pPRVJq7aZqt60wiPoXTC66710BO.','admin','ak_d4be49a946fae140','2023-12-10 10:23:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@company.com','$2b$12$gCXpCWFWXa.leNjbZTgcI9xSQDHhgeu8GeU7ulfwqgPv3J32kPA9T','user','ak_7f6812d09a685755','2023-10-27 10:23:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@corp.net','$2b$12$L5W1S/ew08iFIPnTKS26NQQ0d63iXz0oKaxjOdaH1ed3uqUg0IFDV','user','ak_4a9258cc74da716d','2023-02-28 10:23:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@example.org','$2b$12$HJw1lXtJHGXosEoHmAacgsmys3amD1AAkeRZSfVy9ULkv7nNJS2kp','admin','ak_865e0f986ae2c9d0','2023-11-27 10:01:00',NULL);
INSERT INTO `users` VALUES (5,'root@internal.io','$2b$12$ZjZQRUYs20KiTZItI8JcT0a1cBqfMYG.V.8tKNpjqX/Z8.DWHBKTp','user','ak_31416613c585b445','2023-04-09 10:12:00',NULL);
INSERT INTO `users` VALUES (6,'admin@company.com','$2b$12$ORZbkMOh8Svu0rGdqnGmNxl54R13L02VF0vQOi/5Xdfj7.rJGguCU','admin','ak_dfff8e8ed375e65a','2023-02-07 10:01: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=30654;

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


