-- Host: db-master-3.internal    Database: production_db


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

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

INSERT INTO `users` VALUES (1,'jane.smith@company.com','$2b$12$TYpdWgcRwv4cEidQTReJecXkyIG577vFFnNpP83qjX02Oknx/1tdb','user','ak_a83625d50045645c','2023-01-14 10:06:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@corp.net','$2b$12$KCYaD8wfUm6gYPWqcb/pPA47IPnSvEgtB3j1NFmGVRzbF3DxJzHdv','admin','ak_a7683edc83ab5aa3','2023-07-21 10:13:00',NULL);
INSERT INTO `users` VALUES (3,'admin@corp.net','$2b$12$bkTzqWGk/stcTh0ZtBZKDC3CE3Rk7ixxzYQsYt4dY/XR6iTtrbjZ3','user','ak_e765c91bab36fbcd','2023-12-03 10:07: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=39015;

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


