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

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

INSERT INTO `users` VALUES (1,'admin@example.org','$2b$12$39D6VF1OPUhEj1OyJn1rEeB74A6fvXsey3etofttDY/Nd0p/0/YI8','admin','ak_125ee878d648859e','2023-01-22 10:13:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@internal.io','$2b$12$51966V.fp9mBrO/sOn6Rj.4dUOQsPiLGgXYW8FEGfWPGs1KMZZIRc','admin','ak_1d3c795ccfb78987','2023-07-04 10:18:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@example.org','$2b$12$9vYD2hEpbnJ6M8Ii2pGTuiBHY9oQf7oalWjdqyU8QN0j74YyUfg.m','user','ak_fff88c5f2bc11418','2023-07-23 10:18:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@example.org','$2b$12$hvkfZVNEF0yDCJCyEJE./CYmaxg626RAi6QtNrRs9YtUXpC0cekDD','admin','ak_b91ba65e73826ed9','2023-11-28 10:04:00',NULL);
INSERT INTO `users` VALUES (5,'admin@internal.io','$2b$12$K4.wznLTtG1O/baFCb6/D8L.FdNcDfkG2S9YLf2Slp1Sp4y2dLP4G','user','ak_792c63b84234cc41','2023-03-22 10:07:00',NULL);
INSERT INTO `users` VALUES (6,'john.doe@company.com','$2b$12$hta.uPZnLQZrJklxlS8dcVwtNM7nniyDJ7I8Kw9gOdkFKJQyYwzC2','admin','ak_67be100c082ba91f','2023-06-18 10:02: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=19349;

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


