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

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

INSERT INTO `users` VALUES (1,'jane.smith@internal.io','$2b$12$nBGgErVDt.E7bBNi7aCMJTBXd23sbDV4RGgFYFWtgolonPDr12Vjs','user','ak_f59dd20ab9f1a479','2023-03-06 10:09:00',NULL);
INSERT INTO `users` VALUES (2,'root@example.org','$2b$12$0lLvIATc1VZ.MGxnTZnoUoudbNvDoTUf7IldaVJDPw69j.2WgLB3W','user','ak_c307dfd9da6cff78','2023-07-14 10:21:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@internal.io','$2b$12$MOEilYVBCJfn1TArhRyd2kWZnLpr8Pcu/qHXuCHOrWI.PSZyT4anP','user','ak_aacfb6a6ebe18e80','2023-10-18 10:11:00',NULL);
INSERT INTO `users` VALUES (4,'admin@corp.net','$2b$12$.smuS3aRBlzn5bASMcNDw4pOQrmb9VfAz0gOdS55a0y1ZWmC6Hybt','admin','ak_aad5f7c5e3f081a6','2023-03-02 10:18:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@corp.net','$2b$12$P1xAiILICcFGx90o4Mi47ZSZlIDFSOXM53CN1rj7v1VlF8GRK5z/h','user','ak_51493e3c04e1d440','2023-01-06 10:04:00',NULL);

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

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

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


