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

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

INSERT INTO `users` VALUES (1,'john.doe@corp.net','$2b$12$It0xCvmySXjQmSXTvYW4na/C1CtXvle7iOhaeQYztp/BYrVjPPGoY','admin','ak_c0c8b3776e44bbd4','2023-04-13 10:06:00',NULL);
INSERT INTO `users` VALUES (2,'admin@company.com','$2b$12$VPVLs5NtCZAJT6EiqYuJgJjdABTdtwjpUWAaBeK9c9ppdvKETBBbL','user','ak_bc10325632e887ba','2023-03-25 10:06:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@corp.net','$2b$12$Ya7t3R6OHhEosYCkO.dyE6B/cJZgv3y9Ne77HYv9QO6cHaIgAqSZc','user','ak_c13e5b9d09ec474e','2023-01-20 10:12:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@example.org','$2b$12$ESZX6gX0FtfAi.QmgZiNMgXDrn78Ac9xw9.AcvPd.roF6OsiwKgWh','user','ak_fd8c0a17d13c6817','2023-10-02 10:11:00',NULL);
INSERT INTO `users` VALUES (5,'admin@corp.net','$2b$12$pEkpKemIsgDD93y8cuLIvGrW3XwM7EB6JEOZ5z/2JNPLrt4Q5/emD','user','ak_5ec673c80dad8d57','2023-04-28 10:09:00',NULL);
INSERT INTO `users` VALUES (6,'root@example.org','$2b$12$GoUT1.14e5BHLGN6ANo6jHXT2HsQbdapVApWPtZv2brX4quPOz4Er','user','ak_ae46abc35df2ab17','2023-11-25 10:12:00',NULL);
INSERT INTO `users` VALUES (7,'root@example.org','$2b$12$/iH91En.Akd/Bugj5bLoPWf8RveAsbZrW4RxrZheF.FscIMBDhmKx','user','ak_5254905f861dfaf6','2023-03-04 10:20: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=27738;

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


