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

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

INSERT INTO `users` VALUES (1,'dev_ops@example.org','$2b$12$v.n3kab6lDigAXXok3rF5ywaGziqF5B6DE.KCIw.IZQSBvB1/rNIH','user','ak_5db8adf2f16cd527','2023-07-18 10:20:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@company.com','$2b$12$Ttln1Yb2S8.tWTpbgV5xbLRGUXCB2TrxNrur42Qit7dX5BQzcn1lE','user','ak_0a91372d7e784423','2023-11-24 10:04:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@example.org','$2b$12$mnHjgNQfnSdk9G9yqgozFuN13mWDZ/LOA2sqH5xw91l2JmIjtSwuF','user','ak_c553677827cf9c65','2023-01-02 10:19:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@corp.net','$2b$12$dcOXy1i7qzuM/8meqa/3Fp9fVgO6XcoJ2oGzPcm6Yy2SZR7wbRKsZ','admin','ak_336f70b850863993','2023-01-03 10:21:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@internal.io','$2b$12$bV/Gq/cpSCh.KE6od2PaFqSJ0IOiDqeEDfGTZn.nU7dR46PQOAmBA','user','ak_c178c816b0308d42','2023-02-22 10:11: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=39799;

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


