-- Host: db-master-4.internal    Database: webapp_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=40629;

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

INSERT INTO `users` VALUES (1,'deploy_bot@internal.io','$2b$12$LQOiJYT4IGWouknk4N0Eza87qxRcmFivbf.QIjTb0DiqJsLGvQLfN','user','ak_8b6e98a93fc06aa0','2023-09-03 10:05:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@example.org','$2b$12$B9QNIBxLo9o5DrHjVF5d5ckrlsbhSRqHxRnlV1TJDX6sRNWrIQQiZ','user','ak_a3fcc602b3f5f688','2023-12-10 10:22:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@company.com','$2b$12$siydqMZ.7WAafshPlWcIAxDLDKSr6/uNnGwzRrnNRL1reeeWMVW2q','user','ak_3b4ab0698859fd3d','2023-08-23 10:14:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@company.com','$2b$12$nJt4WFaASuzhmFonNqfuom87gC1DCEWA89CE/lG2F6AuVTmyWXJnz','user','ak_8a533e0390990e8a','2023-09-09 10:18:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@internal.io','$2b$12$vWHN2tAmaA.yM9yQ5j5LuwYzEw4cOm1S3G7Mq/c0B3Lv8gE4mHbrr','user','ak_c02dcde666ca5eff','2023-06-06 10:09:00',NULL);
INSERT INTO `users` VALUES (6,'jane.smith@corp.net','$2b$12$d8PUiesZVIvbLiEpMuNmoZ8qy7ZugUVi/wBL.46WQqDFEVzw/1L0k','user','ak_cf12fa17f3612aea','2023-08-08 10:11:00',NULL);

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

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


