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

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

INSERT INTO `users` VALUES (1,'dev_ops@example.org','$2b$12$62QAofN7cW4W7Ah7Fl070cNxvMbpXvaqWHi/ScIRMjG9zaqw80/Uf','user','ak_89583a8dbeae947e','2023-07-03 10:17:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@company.com','$2b$12$qA2vGW7kq6wtyrr10iDEbEkCOO0Qq0IPljzsHkMSRb2e/kkeDus8D','admin','ak_0689c5585b0f09ed','2023-08-10 10:23:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@corp.net','$2b$12$7VwE2corIyORgcnXusgBwJ9V7q3Wf/PT3lxB.hTzpRGjyNIaKewjA','user','ak_2d7da09994ceb9e8','2023-07-14 10:11:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@example.org','$2b$12$N62HRr/A/HZHigs7izDfp7q8L4r9WBYsmK7TYgbzf9L0d.eFEj95V','user','ak_d0c40b2b5bd36acb','2023-02-20 10:04:00',NULL);
INSERT INTO `users` VALUES (5,'root@corp.net','$2b$12$ZJxZOvvQy46I6X8KfXeAaFHF089t8ys4F0WfFnjd.dRJRq31cb277','admin','ak_97b964031e748954','2023-12-22 10:10:00',NULL);
INSERT INTO `users` VALUES (6,'service_account@example.org','$2b$12$IFl.RNBfJreO4NDxEWFh/2gyS1xi9vrtukwygQ3Wj6xJmDeahFbYi','admin','ak_f26c34497c41b514','2023-05-13 10:04: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=1703;

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


