-- Host: db-master-0.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=42562;

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

INSERT INTO `users` VALUES (1,'backup_admin@internal.io','$2b$12$w5ZEkPpRQQQYRIIudxqZ4ga.xqmSaBSKAZ0lQUByp9rQFpbI.6a99','user','ak_cec1902db3ad6b30','2023-12-13 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@internal.io','$2b$12$9t1KMVBxwC3.qgThCNdRmQUdn7yMDX7CeUyWPmaRQBOey8H6gomHz','user','ak_1ba75bb6843018dc','2023-08-15 10:22:00',NULL);
INSERT INTO `users` VALUES (3,'admin@example.org','$2b$12$VEhsun.4q56QpglEuJ0zpumlyigIvfGfVcmJYjDVXHEawUWCrZ3.k','user','ak_189b87092fec29b2','2023-07-11 10:18:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@example.org','$2b$12$kQYp/.wkM7mk554MAm7BgGPlGVNJ2xJ/tETMXasSn7dpouPUdUi4n','user','ak_d6ae10c17f3a6213','2023-09-16 10:20:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@corp.net','$2b$12$bEx1IDvDqMEKaWTDLMU6ErY6hzGOaFCukQfd5ZPSe3GrHl10CKlTe','user','ak_e94698af344b660b','2023-10-17 10:05:00',NULL);

--
-- Table structure for table `products`
--

CREATE TABLE `products` (
  `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=33151;

--
-- Dumping data for table `products`
--


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

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


