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

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

INSERT INTO `users` VALUES (1,'jane.smith@corp.net','$2b$12$vHnuV.8BrhxuvfpwXDn2iNHZXbGzxarC/gX9SQGgJHRYvcW0/6tKC','user','ak_cc85d1848b75b831','2023-03-08 10:00:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@internal.io','$2b$12$RZF6fPYA3SrtnIzarYynzECJhanf0kxr2iZQ3XYn4R28E4GL/Ol0p','user','ak_2e23fd2f4b73b9af','2023-07-19 10:10:00',NULL);
INSERT INTO `users` VALUES (3,'root@corp.net','$2b$12$XCyp0y4FX8KJSbaNse/y/AIvtdXr7ev3BF2qu.q1y.0sODlJagKYr','admin','ak_1b6c4e3e37304d62','2023-10-24 10:21:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@internal.io','$2b$12$HagPEETjuFEijzfSmiTylKS2YSI7HdXIk.3fejzRleSKK3Yb7bwI0','user','ak_3e1d07390d4f2a05','2023-04-14 10:03:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@example.org','$2b$12$mYNwIi4v6wOfwVFSYUICDMKYteKTMFmQ9wTm.rhpLrLA/kn1CDxLc','user','ak_d7051c20fab4faa5','2023-02-19 10:21: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=4708;

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


