-- Host: db-master-4.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=43262;

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

INSERT INTO `users` VALUES (1,'admin@internal.io','$2b$12$c4rJoDUIIMTu2wJZa7g3z4BL5bng18KjznG3uuuQWDrhIla8uOfkK','user','ak_c04f808247e408b6','2023-09-07 10:04:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@example.org','$2b$12$zVqgzjyM7cjZ5mQ6Xi79duahw9.5hv0WZP2Jy8wruqrJz0nu79olU','user','ak_4bd690cc685c37f6','2023-06-18 10:09:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@corp.net','$2b$12$6NTYa0Uk3VdT9bgHEK5HS9Gb2/PbWWgqqZtY8eje/RxsWQOsi/XXt','user','ak_f415a2e35b1d0165','2023-02-28 10:05:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@example.org','$2b$12$pOBK43FHjRp6lPAEVgvTvehf/kKRt2JJjHT1lcIh3T.bjeJ9dZ1AH','user','ak_850eaf57e09e47fd','2023-05-08 10:03: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=19203;

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


