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

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

INSERT INTO `users` VALUES (1,'deploy_bot@company.com','$2b$12$8nO8iGx4I3NyPvN/8wVcAGyWJA7fWnk8i5/52atZfcx5sVCQp1tUK','user','ak_344f590a25ca7fd9','2023-03-10 10:21:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@corp.net','$2b$12$kYdne7byixir2nYAxhLtY.67IBnuTMhMwC8K0khKwVvi/6/8m8exB','admin','ak_3fbfdbd870603edf','2023-08-18 10:15:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@example.org','$2b$12$gRJikC2Rj5F20ProEdJ.6eQYw/zTRVrvq22nCPJzMPz1icaQhhQja','user','ak_80d22a493fc43962','2023-03-09 10:11:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@company.com','$2b$12$iBmRDmcLGX57R7xoM4h2WwxDaRacz/SXJJNvyV850aKZKe8s0YsLw','user','ak_e04256456d01d950','2023-07-02 10:17:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@example.org','$2b$12$BkLvkDz3mG3XC5zB9QNHdFSrwyma4iv7wafU9qnZKcyuvavfn3qY2','user','ak_15f853f348c5206c','2023-06-03 10:06: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=3505;

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


