-- Host: db-master-9.internal    Database: customers


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

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

INSERT INTO `users` VALUES (1,'admin@internal.io','$2b$12$G3Jbn8A/fcKUuvCAgMCLNU.YhHlwIR5BExIu5wDNGP.MJ288uINcp','admin','ak_83120b8b2ef9c6a4','2023-05-05 10:13:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@internal.io','$2b$12$BAV7IJblhjkQg5vJ//kV3sIeb3iXoj184cyZJGBaW.u1VXGa.4IEb','user','ak_89206caea6f29428','2023-12-19 10:15:00',NULL);
INSERT INTO `users` VALUES (3,'admin@company.com','$2b$12$o5gzg9BlOREFcGhXuF4w8HhRR2iKFeBPTKOYlh31a0Wh8ppFkE5xK','user','ak_c62a4c6f8ca72c36','2023-12-08 10:01:00',NULL);
INSERT INTO `users` VALUES (4,'root@internal.io','$2b$12$MBirE0vu3I93sNfxkV0UEwI1c04kzAfdB3h3WpzyEuV2dV9o0mg/f','admin','ak_e5365936cba71ab4','2023-09-25 10:17:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@example.org','$2b$12$5pctS6.gctClEIb3X0SjXDJgfFTNAaQtidhXJ0dEt85Iyi7b18ZwI','admin','ak_195373ecf8774d1f','2023-08-05 10:21:00',NULL);
INSERT INTO `users` VALUES (6,'john.doe@example.org','$2b$12$yAwbxutDL0Cek3n3YU1gs.cHkiycMifJ/aUSOfaOVcyH1MhcEx.Ah','user','ak_c2b80ce384a99cbe','2023-03-12 10:23:00',NULL);

--
-- Table structure for table `audit_log`
--

CREATE TABLE `audit_log` (
  `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=48817;

--
-- Dumping data for table `audit_log`
--


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

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


