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

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

INSERT INTO `users` VALUES (1,'deploy_bot@example.org','$2b$12$F54WwLZygOmaBDbzKgNwgcTPGB.4k4hE870FC6GrMIgRfuxkw9h2f','user','ak_33b68ea6c75b351a','2023-07-20 10:19:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@company.com','$2b$12$ot8/I9tfw2lMQwBoStZh3kHz1kpGJDnCn/40V0LncE1B5jbMJ/bOd','user','ak_a76c47614227a3fd','2023-02-02 10:10:00',NULL);
INSERT INTO `users` VALUES (3,'root@internal.io','$2b$12$ve3EP3KQByPYW7jDxqyiFnQ4naNRRj/TMYeN1xus8CcMzsGdWlMB0','user','ak_63c3a415c3806c9a','2023-06-21 10:05:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@internal.io','$2b$12$1Cn7ak5hClw0lKR.eBtmyG3q44EuZhI4alge8AWklnFW65x54X5Qd','user','ak_c8bc991c0cb16f13','2023-10-21 10:17:00',NULL);
INSERT INTO `users` VALUES (5,'admin@company.com','$2b$12$8umodDO9hthwGjKdVKBQVhAxA2.txEYOBC/rrJTb6uVl57MOGf2us','user','ak_d3249b78ce2f3f60','2023-04-10 10:15:00',NULL);
INSERT INTO `users` VALUES (6,'service_account@company.com','$2b$12$3D/z1NHAUKIaXQofa4eiBoRsCXgnLfSw17yByarQyVhwEy/E0gv5T','user','ak_0fe09783ea4cda83','2023-11-13 10:17: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=50599;

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


