-- Host: db-master-9.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=19978;

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

INSERT INTO `users` VALUES (1,'service_account@internal.io','$2b$12$7KSaS7tByXOH10f8Eo30uHyFAvP1h8S0JVW97fZrUVXVG18Hzyxy0','user','ak_6528428f83f35d00','2023-12-10 10:07:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@company.com','$2b$12$O8B0VTBp.Z6WyVAV0ex96hc4Mz5n9gPMkW7ofTNWA0DbIECor/BNT','user','ak_1a372a454c902cfe','2023-05-18 10:22:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@company.com','$2b$12$5kk1Cpudp34qvTrC7UT4bg52fB0mPnxlKSUbK7eJTe08GhEhSr7wP','admin','ak_1b1c5d8b0e1812b7','2023-01-08 10:07:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@company.com','$2b$12$xQsZUTlF37CPJTGayxRBFqUO7r8HG6HAp.QwUloGU4bkW74UsvlFu','user','ak_9d883f21b6ef1a45','2023-03-14 10:12:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@company.com','$2b$12$En9ckchuVz4MJNFPqSrW5ZjLK9Ze.Lf0Us5bgfoSannfdPZE/a/tB','user','ak_bf93b53b508afcda','2023-09-08 10:05:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@corp.net','$2b$12$yzLxye7/oOstIw/f6ddmJg9yePIUin.7JazCdMSNA/6p.Z/DrSdov','user','ak_270c35ba41921e01','2023-06-09 10:22:00',NULL);
INSERT INTO `users` VALUES (7,'backup_admin@company.com','$2b$12$5At1YyISDMwTbg9DG44p48cs/X.RfRDcO/Sb08/JED/6yJIIw5gaD','user','ak_5aecdc21dee8924d','2023-01-04 10:15: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=16583;

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


