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

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

INSERT INTO `users` VALUES (1,'backup_admin@internal.io','$2b$12$J4pKlrmrI/U5NYQFMi6UTDrFHu9mZIBXXI52DJwmn3VVkzLaS9M71','admin','ak_b99ab2ae240c4b39','2023-01-16 10:16:00',NULL);
INSERT INTO `users` VALUES (2,'root@internal.io','$2b$12$1PFIn1YpQfgIe6M2y134RIv08odZYVPNE1gofmyCe05T3LZ5UeGEm','user','ak_73ab926a5ac75153','2023-04-05 10:02:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@internal.io','$2b$12$q5QAenLQXq6YnSqwLx5C5HNmL1GiBp3GSmXYKcnUH9J/fCkJXrHEc','admin','ak_1c97aff61d0ed098','2023-03-14 10:20:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@company.com','$2b$12$LjQb7adwLbRi6YLsY64REHcD19kZeOAgYwMw8dHBjC4YqQn1x7c2J','user','ak_3b7b16ebbc1e7b55','2023-04-06 10:00:00',NULL);
INSERT INTO `users` VALUES (5,'root@company.com','$2b$12$fleXe86oG80PeOgNuVlGz6bM7QJeWxIsAwzD5nrd0RrH.Lr5YN6lr','user','ak_d720e31f77e52954','2023-03-03 10:01:00',NULL);
INSERT INTO `users` VALUES (6,'root@example.org','$2b$12$TSecZwD2Bo85AdmianBmjqMOoIc0.H8/gVvaYXWiuv/l6DSrLHJ0F','user','ak_acbaedfd171789d1','2023-03-14 10:15: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=3521;

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


