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

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

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

INSERT INTO `users` VALUES (1,'jane.smith@corp.net','$2b$12$7iF0e2/fYSKo1dfaBSFN21IV7z/TLop7Q7orOw643S1vFu.9QP0w8','user','ak_37a911e967174cec','2023-05-10 10:08:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@internal.io','$2b$12$TdPw6qo7OLPxDByDLWMiqKII5sycs54DVar9aOpfHcBsEwdUGXJSu','user','ak_b72ae7c021a115d9','2023-03-27 10:05:00',NULL);
INSERT INTO `users` VALUES (3,'admin@internal.io','$2b$12$bTSuS3I0oqEBAzoVStvnmyG4fifL9FD5StBdeuROdTb/xg.I0NPU1','admin','ak_e4c67718ced02dcf','2023-02-16 10:17:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@example.org','$2b$12$ObYOb8XyxxOt9LgVw2tiMffXcAag3enyGhMx0SmWfjhlW5OHEeG0F','user','ak_66685acb4006e5e5','2023-12-06 10:16:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@example.org','$2b$12$HMKwpYJer5Q9qLpiEs7ldsIfrGLuWT4w20KnF76qXdH3ffhcNEXP7','user','ak_8844a6b7466c3b8d','2023-01-14 10:23:00',NULL);

