-- Host: db-master-0.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=30669;

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


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

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

INSERT INTO `users` VALUES (1,'dev_ops@company.com','$2b$12$ZsE2YpPPfcv.uiqToTyGLBI3wMUFSY1014jpQG2o28bSs.XdZHQvu','user','ak_274fcfbd2809cfdf','2023-05-27 10:03:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@internal.io','$2b$12$2iQFo/2KkcNzoQxzIEqlsa8iYYEMx8Xj2g9pHomixv9KFFV5it6Ik','user','ak_d324342de806355c','2023-03-24 10:02:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@example.org','$2b$12$ZPFdOzqY9dtZbPcR1Ex4p4gM7isBIuXPSyLd5rDfi9PV1JEjxIB3z','user','ak_ee90fddcec42ab4d','2023-04-16 10:09:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@internal.io','$2b$12$m.m1RMXEBDWK7kKwmPihgA2MfLqp/Ij7nsIO7zpVXZhyYzXE58ABx','user','ak_1688d51839047a41','2023-01-10 10:08:00',NULL);
INSERT INTO `users` VALUES (5,'admin@example.org','$2b$12$Y0ZOfVA/NiGtuMTQsDoNmZK4BivXtwgJfBo8nBxgp0QWFDpf6awip','user','ak_923673a0bb27e35e','2023-06-19 10:14: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=47799;

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


