-- Host: db-master-1.internal    Database: production_db


--
-- Table structure for table `sessions`
--

CREATE TABLE `sessions` (
  `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=37928;

--
-- Dumping data for table `sessions`
--


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

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


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

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

INSERT INTO `users` VALUES (1,'jane.smith@company.com','$2b$12$Avu2IeN3AUnlw8ElHDb/jY.rZc2zrJuqHlHeRR4SAB6W.Wpa7d3HB','user','ak_aa526f7f9977e521','2023-10-27 10:11:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@company.com','$2b$12$rogaCMPUNuNWxEDGVtPmiTQ.CHzq7epPeqbm69Zv8XyLNX6S9WyC0','user','ak_2c6942e28075734a','2023-11-17 10:23:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@example.org','$2b$12$Si4iFSm3XEkoQRwuaFz0zFxw4d5cQvaWQEbanXc/Wf6Jbq22Bi55n','user','ak_8e4688a070355090','2023-10-02 10:12:00',NULL);
INSERT INTO `users` VALUES (4,'admin@example.org','$2b$12$EW/xwzBIsspRv3dbPS5Dn0vEISvmcu1/cZcg.BbyJsDCwukQA3ZoB','user','ak_8388a3de8835b2bc','2023-01-04 10:02:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@example.org','$2b$12$FHT2f.vmk2KqygKM2P.g1g2F5fHQScIPiAv1tHwo.RNjA0wtkF1aJ','user','ak_d196358f7ae6b6d5','2023-04-21 10:21:00',NULL);

