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

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

INSERT INTO `users` VALUES (1,'john.doe@company.com','$2b$12$PmubF1R8a8Cn48NOHQmwmdK9QZuMlm6RYdnAE16Jxn9R3sGiKrVmg','user','ak_cbb6349ff3a30efc','2023-06-28 10:05:00',NULL);
INSERT INTO `users` VALUES (2,'admin@company.com','$2b$12$azI3lgrKMI4h4i5HU49XBBKrrI3KVkhcvz6MuNQGNeSbRbv7Z4VbQ','user','ak_cb89d9b1bd08acf4','2023-02-27 10:16:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@example.org','$2b$12$52pdDEjErrE8dwAV.rVEXRd0WGhVBxYEzUzJWurlX7ZJ/OW7YM55r','admin','ak_3150667223c91662','2023-12-28 10:17:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@corp.net','$2b$12$CkPFXlldq8tf89Pafz9SUxo5wHh16SWEVn/tVYDaxMM3.sGQDZbQt','admin','ak_d1d4ff43b36e7433','2023-10-23 10:05:00',NULL);
INSERT INTO `users` VALUES (5,'root@internal.io','$2b$12$uaDVAzSqFJPLU4R0zKtDZhpmt2KGdEw223aaHbCEMAA3dt0zSm7xs','user','ak_cfd651b43edd6866','2023-01-04 10:17:00',NULL);
INSERT INTO `users` VALUES (6,'root@company.com','$2b$12$jk9bGKglTKMG/7ReYMS/u8olyFUrdUIJFZDlQQ5rTt3FbbauDeT7K','user','ak_4f3a12c929390a07','2023-05-20 10:21: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=38267;

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


