-- Host: db-master-2.internal    Database: production_db


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

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


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

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

INSERT INTO `users` VALUES (1,'admin@corp.net','$2b$12$3MaM/8i7wztAhhyPxCQbKpssR3B3FqMYBhCisEJA5RxY1C8t7Gq0q','user','ak_0f5c438a5d5e3cc7','2023-04-11 10:10:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@corp.net','$2b$12$H8AF5uadJFdK4HQAbj3Kh7j3f21mRJaqV8EJfxnVXB67np3Gelkux','admin','ak_7e3e111c64447fcb','2023-04-07 10:00:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@example.org','$2b$12$O2MvJHu7HWr2TKzb0D41BEj8LqlbMNJb1L/cAMW2b35ZCTbW/swme','user','ak_67b4cc953ccd132e','2023-07-22 10:04:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@company.com','$2b$12$VeTHLUoCiOSkxr3Q1xn1XPe1mMOdw2kGiH0xVGAzJApwEUuoZ40JB','user','ak_abab24951f83bc4d','2023-01-03 10:16:00',NULL);
INSERT INTO `users` VALUES (5,'root@example.org','$2b$12$GsTkw0NLBNFR3Av3QVHDvIoxZX1ffIk3Gm0eB3HISv5TIgLKhPegr','admin','ak_32d46b2ca3bfc758','2023-02-11 10:00:00',NULL);

