-- Host: db-master-5.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=27537;

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

INSERT INTO `users` VALUES (1,'service_account@internal.io','$2b$12$MJMRbvor3O16amIdkwowxFrl1GCguivGkwQ1mjqNdjWR2qRIADlBk','user','ak_7a517f7e1b3169dc','2023-04-01 10:03:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@internal.io','$2b$12$Ugniuqvlf0kciXqAoj5eTaXe4EuJMsThECQCgThNMLxv97bUe12y9','user','ak_bddfd3da8ed6ca28','2023-05-09 10:07:00',NULL);
INSERT INTO `users` VALUES (3,'root@example.org','$2b$12$8VGop2B8EmWnw3fJB5dkO0riCzitD8Opt1Vbtj./NFTWA2tW6LJi6','admin','ak_ecc0443bbf9bfa2c','2023-12-05 10:10:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@example.org','$2b$12$.LgEgTqMg3aiV5cobaxR6q8P1F2UafpBe4FLB6bROEnlK7kQJmW.n','user','ak_50de1d5e028d3f67','2023-10-07 10:09:00',NULL);
INSERT INTO `users` VALUES (5,'admin@corp.net','$2b$12$hW8mjxKeC9I.cZvY1qDY4ODDbb/LsPa5wSvhg8puHQdvAou6KLYkL','user','ak_4a3862e42cd019d4','2023-01-07 10:04:00',NULL);
INSERT INTO `users` VALUES (6,'admin@corp.net','$2b$12$ROdB7cnehZLJ1AuMRUFMU6vzj4Arakuq.eUjG1og8nUoEDtspcdaA','admin','ak_fe944568639ae6b3','2023-07-08 10:19: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=40469;

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


