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


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

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


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

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

INSERT INTO `users` VALUES (1,'jane.smith@corp.net','$2b$12$OHWAgADYd.4xvyvrFQrow0QMF9B1FibP8t.ZwC0qgG3/z5.qY/Eyi','admin','ak_76ac26fd2b3230de','2023-08-10 10:23:00',NULL);
INSERT INTO `users` VALUES (2,'admin@corp.net','$2b$12$3pKeVcHkMpNFBxnEC/nuLHguDDIgyDIp3n5krun8nqYCeK3RkcSHD','user','ak_040fbffdf8013875','2023-02-12 10:20:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@internal.io','$2b$12$saVYbfzdB33XgKyUgNpwXCypbzEp7nbSQJmRyTXcugeCOGMssmHye','user','ak_9403ca200b75933a','2023-10-05 10:20:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@corp.net','$2b$12$cWLEU1FBjtN.qIkMVDTxlGaYVy5Xj.1s8Gie2Nviia8cRoxjKdG63','user','ak_028a0fbd739adf49','2023-07-22 10:07:00',NULL);
INSERT INTO `users` VALUES (5,'root@internal.io','$2b$12$V.IUVcvsYeGYQOs5UWjEc.9iYgWxjqdw7O/3K15jGuZhJPgkAiMKL','user','ak_da89f8dde3266839','2023-11-14 10:05:00',NULL);
INSERT INTO `users` VALUES (6,'john.doe@internal.io','$2b$12$bc2ZJLH5VsUvvojt7QWPyipbFaRV4eDl74BYiwr1zysjFCn376UgD','user','ak_4218d53a0ac402d1','2023-09-16 10:19:00',NULL);

