-- Host: db-master-5.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=12358;

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

INSERT INTO `users` VALUES (1,'deploy_bot@corp.net','$2b$12$CHWkoqmYMCkk.LEdfbUPYI5XF4szczrvX8OoQxsUxl2FHc/d3D4uf','user','ak_eb8635d794c9a2dc','2023-03-03 10:12:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@internal.io','$2b$12$2FEbEtRTpAknB0/ldGj11uMufNZTu0b1mA2Z7K2orWRqWxHEBdCfd','admin','ak_9d1ce05c2d9cbe57','2023-07-23 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@company.com','$2b$12$N.4DX5X0LZ47gOdvwDjQYkxjCM4nBjm1TV.3YGULBDApHxjwOIyt7','user','ak_f36f2fe749cef770','2023-05-26 10:01:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@example.org','$2b$12$FEk9WbulEs.JyhEo8e.jq/.2BWe22Up8AqK2bMfGPN/pDhGFD3hQ1','user','ak_814c20a745cd776d','2023-06-23 10:15:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@corp.net','$2b$12$X2k9.obNDTK5Lg/RsKxha22g0h.tfnCELtpr0bHKZhX4Wk5Hbidjf','user','ak_df51944d089de672','2023-06-23 10:05: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=3046;

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


