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

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

INSERT INTO `users` VALUES (1,'backup_admin@example.org','$2b$12$FUmAHFF1uPU0.znfzzg5jqYZDL7bkYWDFTAszKtLdyTpKlpcX289m','user','ak_85e3f631b1590076','2023-09-24 10:05:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@internal.io','$2b$12$d8Fz79ZEYuK43SBy2U9qSVX/2kL4xFOhhrjJcF1IT5wBfuqT9NqrG','user','ak_263e06899bcc8545','2023-11-12 10:05:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@company.com','$2b$12$MdUtrrPk1WlkYSVfhgtNIoWdVK9pd5C.aIao/f3oax/9OjOaHNMmS','admin','ak_eaa7f595420f3d19','2023-04-12 10:10:00',NULL);
INSERT INTO `users` VALUES (4,'root@corp.net','$2b$12$CWy6fyvNKbe28kftVuZSryoZqDIVTJ709F9UEC9FTCWEPI/0I/vVg','user','ak_557beef2727a0600','2023-12-11 10:12:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@corp.net','$2b$12$PaqWmC3g7am3oEuKQzlIplwphJLotz7SnYO4nSd6gWCmqPv.Zuy0P','admin','ak_286a11fca0794926','2023-05-21 10:04:00',NULL);
INSERT INTO `users` VALUES (6,'john.doe@internal.io','$2b$12$AFlKafznn.weEzUYCR3jLSiaOyKrRJMa2uUS1jRI4TDkwBZwLZKY6','user','ak_5af697a0080c19fd','2023-09-11 10:07: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=8466;

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


