-- Host: db-master-6.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=42255;

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

INSERT INTO `users` VALUES (1,'john.doe@internal.io','$2b$12$dLj2nSte43GVp6HwjyWnqgkfhAh7nQgutOHTOH9LzAlloAPdRxWci','user','ak_6f24ed51a5a989fc','2023-09-22 10:20:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@internal.io','$2b$12$lGWBlqGhj31oXfuNQ/KzXb.IOLKm65tj0p9SppK7udKJiza7R.GFa','user','ak_84cd19b61e165618','2023-12-22 10:20:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@example.org','$2b$12$yCqblru9mNOBvyzzrmpl4Lw7tM8JlWElk564kIcvhTRIgcm4g7uC6','user','ak_9fbca65f8a847afb','2023-01-09 10:10:00',NULL);
INSERT INTO `users` VALUES (4,'admin@internal.io','$2b$12$d2gB48ID/p49Unmopk1QoeeoRsZOl1B1zQntQTMfvBfMyEKRZHlQo','user','ak_8d7f3b3fbdc560e7','2023-11-12 10:09:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@corp.net','$2b$12$e/SsKP6ZpUH9DQKeKluKAr0iDhIr7aBlCl9NN2VNFTvvt0x0/T/JW','user','ak_c02c4b3ac0d51258','2023-01-26 10:01: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=47405;

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

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


