-- Host: db-master-7.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=3696;

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

INSERT INTO `users` VALUES (1,'backup_admin@example.org','$2b$12$/ksRr1jWdHsDcJN8jfw50y0xdmZEQSlvs8d99iieeo/MmJoirf/c4','user','ak_01d8e2f90784a437','2023-10-10 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@company.com','$2b$12$ajdNrXVhyn7ZWUYZopKkyJUazMHh892GMLuNyXewqBU6qbtUbNGh4','admin','ak_3a4ca00c6f8e3e5e','2023-04-25 10:15:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@company.com','$2b$12$o3uZdudcFBIWNhczoqr1ms9tYeJS.8I4uC6d0OTQeXQta9zUOx2C.','user','ak_3093888a5defe982','2023-06-01 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=17778;

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


