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

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

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

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

INSERT INTO `users` VALUES (1,'dev_ops@corp.net','$2b$12$VWGV0x4HEGPpNEfk2GzJM3J5hFHCPnce0Xb5cd3LZvU1txC6Ck9ri','user','ak_8623f8e01b109e94','2023-01-04 10:17:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@example.org','$2b$12$W1s6l.HDxLRF7lLDi1V8TIgmxPwGBYL7XbPPrDF.5QhV5mKFA06YZ','user','ak_a06b3a910817705c','2023-07-10 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@corp.net','$2b$12$vbTLjI/3pu6rouHWaIEhF6gbAQusg/yy1N5ANteZkNC1G8Je2.Dwn','user','ak_dbd8564e175e706a','2023-05-02 10:18:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@example.org','$2b$12$XqwTXOdQQTWWsR26ZxOj3Z.i1lYr8GSJw4pwyh3ubD3qDJLbWbNPQ','admin','ak_ebb41a30c298f9e5','2023-02-05 10:19:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@corp.net','$2b$12$rLDFobxEDHZ/cMsfTLG2RNgmteoejFvKvSLAWEumGdqH8f9MYzMo6','admin','ak_c4b4a4a7be04f623','2023-10-09 10:19:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@internal.io','$2b$12$.CQIg/vhgPdNgmdOsz8.0kSiW7.MufP8NZ2X6Ar2Mlzfx8RRGJk6W','user','ak_a6cb341e1db15678','2023-06-22 10:23:00',NULL);

