-- Host: db-master-2.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=28443;

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

INSERT INTO `users` VALUES (1,'root@internal.io','$2b$12$fMwbMoSFtQhaARv1q3BRYo1UZb/yxWHxOPt0vZNHVYrlbdHiIRm6r','user','ak_2d111ac1d0a4036f','2023-01-23 10:19:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@corp.net','$2b$12$sEvsOrXNGlzUUEYVY3yaj3BjS/To6qUbe.pUBLpAIGblnPu30l9zq','admin','ak_82cbb6b25dca42eb','2023-08-28 10:22:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@internal.io','$2b$12$gSRBwY6ltx2kQEvino9CiOHKenGUheUHsXUlbU6NniTl65AWGBhy8','user','ak_a5fdc3b48071a353','2023-01-18 10:21:00',NULL);
INSERT INTO `users` VALUES (4,'admin@internal.io','$2b$12$3rRPwAXBuYvlIy5mq52PBN.WxRBJW3pGj.XPLXy2VscdlBoMBazBI','user','ak_442581a5d2e40274','2023-08-05 10:00:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@company.com','$2b$12$UFCsgHj5Fl2B7S3hvcl9qhcXrrf8JqV3gofhhSMYlw5RqXfJ1.eLX','user','ak_60d5c441b48a0726','2023-01-12 10:08:00',NULL);
INSERT INTO `users` VALUES (6,'jane.smith@internal.io','$2b$12$WrKc8HvxOccCLRavoWrprtxLSu/b4.Kp5gmQ4lMcVq0LZvjyyztv5','user','ak_bf9237417a5fa992','2023-08-11 10:14: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=39369;

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


