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

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

INSERT INTO `users` VALUES (1,'jane.smith@corp.net','$2b$12$jw2JH8b85Mx.VXHciF.YcgoAPBXLwaRDO2JSo5zBm8KYItCKYskBd','admin','ak_f521b3da418768ad','2023-09-15 10:10:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@corp.net','$2b$12$oAoJ3KQpVOMi/RJECjiFuGi44kSUxrJ6lQmAicD/J2RJaxXRB6BHa','admin','ak_cee456a649a403a1','2023-06-14 10:09:00',NULL);
INSERT INTO `users` VALUES (3,'root@corp.net','$2b$12$NGRwOhaTwHJLDtsDjK4cU0b3jh/burcvFfu6TM4WibRwTXmpwboy9','user','ak_19c309f07f326084','2023-11-19 10:07:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@corp.net','$2b$12$N.UyKFhmLAuWZaokUiAP7vCzWXlnAjguXY3Nk6ukWgaTvIprtLMil','user','ak_6c6dd333315ef32b','2023-03-10 10:20: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=22716;

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


