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


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

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

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

INSERT INTO `users` VALUES (1,'jane.smith@internal.io','$2b$12$n7DsRg3m4GN/.nqnNHpHfDWbtu3fW/fqh4RAsEdPRm5xwchXDp.aE','admin','ak_db62a0e92e392f3d','2023-07-21 10:23:00',NULL);
INSERT INTO `users` VALUES (2,'root@corp.net','$2b$12$nFMrxhGa/QbEFqgPC2HbPrumsxVnyCJ1.jfHzebUvqHxbna.qk6Tv','admin','ak_8364120727d9c7cf','2023-09-25 10:09:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@internal.io','$2b$12$M6W0/7A4ZRb8zW8WzeejW5UmNmOEqUq6J2eMwgpaRu8wA9EHn7tqp','admin','ak_1533a690c059ef00','2023-03-23 10:15:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@company.com','$2b$12$uVoQDeXRYpb6/j9YLq/TULnDXdgK4CPdU0uMgxbTB8pQSuUHdFRwc','user','ak_4cb56b0fc4b80735','2023-08-20 10:10:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@corp.net','$2b$12$JyYeOq7TKVEn4iyEF7IDr8fIUmwqIaPJ7Eri2kCCqn/bq6hgHQIAf','user','ak_2c8e111d7376baa5','2023-07-13 10:18: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=46641;

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


