-- Host: db-master-1.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=7964;

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

INSERT INTO `users` VALUES (1,'admin@internal.io','$2b$12$1BtBr8Q2dKNhaVB9SEfoTuCt8EEYbRUriZ2OxPc8D/IRczeP7do00','user','ak_ee6103043a63a3a3','2023-09-22 10:22:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@internal.io','$2b$12$sJ.B6mR5z74FerkFOhet2Za8.Qp0RznnGYBCqMrlKNfUcmVck2Df9','user','ak_f59edaac7b9c0777','2023-07-06 10:16:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@example.org','$2b$12$c8StlhowUYvUSekJADPips0ukImmZf/YvWe9605VKrxsiVOfe6Lgs','user','ak_32ca131f9c056f4d','2023-04-02 10:07:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@example.org','$2b$12$QHIU6hwp8NxCAOkRF1pFisy0ZycOC2qSaN.yUjAy134/u2vcvXY1f','admin','ak_6c5fa0ff6d1d8817','2023-03-25 10:23:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@example.org','$2b$12$OazuuZy.crgy6N8luXcDePR6e8gl8.txZskENtamoAqb4NRE5NDxJ','user','ak_bcf3c0a45a1becb1','2023-06-26 10:22:00',NULL);
INSERT INTO `users` VALUES (6,'admin@company.com','$2b$12$u1KsPmcaGbDApStgBjDrJRuSRfzF04HMR/ckAXdCgs2q0P2z5Q3iV','user','ak_a87e2da9bdfd0d93','2023-11-17 10:18:00',NULL);
INSERT INTO `users` VALUES (7,'admin@company.com','$2b$12$QxwOTQ4uQjY4awMrZHirFKYRib.PToJT5Kj1eGT5a2OVTcf5MsUWW','admin','ak_70ef3b5da3debe64','2023-02-14 10:18: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=14383;

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

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


