-- Host: db-master-6.internal    Database: main_app


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

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

INSERT INTO `users` VALUES (1,'jane.smith@internal.io','$2b$12$QDAMjcJNVPeVd2uU9r1ouNut7gRue7Tm4VffjyW09S3g.8vnvwtfV','user','ak_37953db34e46b29e','2023-06-23 10:03:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@example.org','$2b$12$/ad6wUiF7Ll47C4INSn7i87Qinn9skin1dPC7fC3A0eAfRjcCA7kU','user','ak_86225c89de1600f1','2023-03-19 10:20:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@company.com','$2b$12$T4vzGlhTAnWSRuSrpsEfpulFFkarO.hh.cO.Ew11VH2coiHo7nPfp','user','ak_b468251aa69cdda5','2023-01-05 10:19:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@internal.io','$2b$12$aLq3IkCMI7kXPYBUMI30jY1uQ/.z2GSEHGYBfXRgSMtRYYxn/QoGr','user','ak_c9f901dba92e5212','2023-11-20 10:07: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=3309;

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


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

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


