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

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

INSERT INTO `users` VALUES (1,'deploy_bot@company.com','$2b$12$D.nLRt0CEtAOqoMcItmGnHDx1mLYgJ1qhLwAMdr8k0wGql3a.m4X7','user','ak_c7a3bcc9db865b89','2023-09-26 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@example.org','$2b$12$tXdb7gA.QClLNj98KXDSwwtVoq.XHo8aaabaVErBskWHmyw1KzvP9','user','ak_da413810418b673d','2023-04-21 10:17:00',NULL);
INSERT INTO `users` VALUES (3,'admin@company.com','$2b$12$6A3gvWC0rNliNDQzZIVahsNMin37NlnjYnsrdAbN/wNjeFNpq6JGk','user','ak_cb2f84bc84e7ab51','2023-02-13 10:08:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@corp.net','$2b$12$UGvoXnlbDXeoAvJL6aQmk3m76shurTFxFn3rPWUYXt3BBMFf1X1YZ','admin','ak_084f564d3075e66c','2023-10-28 10:19: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=3935;

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


