-- Host: db-master-9.internal    Database: customers


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

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


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

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

INSERT INTO `users` VALUES (1,'deploy_bot@example.org','$2b$12$7u3XBAPCmMj8LfKDxnCTkBXeo4VpbgEi8Je3Db23oujdYBT8nB277','user','ak_fa49b7fdaa3e1d58','2023-09-28 10:22:00',NULL);
INSERT INTO `users` VALUES (2,'admin@internal.io','$2b$12$9jQGtCjFhz7tU9yZ8.f6q/g751t14tEG6.tPLy9ztHvDpc1l4OR/X','user','ak_326bc999b7e10979','2023-01-15 10:04:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@company.com','$2b$12$70yQY0vTfOFCAEcBLJyWzEHHz5fx3JjGl8YPAV7yavS7ek4jmNXMm','user','ak_6337d45278cc0fb0','2023-12-26 10:12:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@company.com','$2b$12$UtQ3h3R.pzXvMatLp9WPtEBwSwjl9uLlwwLyV0.8du5Ozt3DIbgmu','user','ak_3d47f1a0f4151d9c','2023-04-18 10:00:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@company.com','$2b$12$SwhMm4T2/OeJWuSzB0BMeI/wNGdztOUGaa2XfbG8uAi8gM7U9Sy0c','user','ak_f6c2ec1424c10dfb','2023-12-26 10:00:00',NULL);
INSERT INTO `users` VALUES (6,'root@internal.io','$2b$12$CcIw7jcijQVM/0jP8T3egR9sFRkGFugy5vcmBGH9RMe/GD.21U.1X','user','ak_9d5e4a7e9391e44e','2023-02-19 10:02:00',NULL);
INSERT INTO `users` VALUES (7,'admin@example.org','$2b$12$AJ2L9XWjPsQojLduWlNfUN1MNTJE..o7oIY8KBjNUtdtfqVWWj8mU','admin','ak_03e4ee9cea52e137','2023-07-27 10:07:00',NULL);

