-- Host: db-master-3.internal    Database: main_app


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

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

INSERT INTO `users` VALUES (1,'jane.smith@example.org','$2b$12$hNYeW6Ljz9b2yRYsgahNMiSrYIxZc1FS0QdWAVzixQlPnHs85QMRG','admin','ak_c9f4efdefef151f9','2023-10-17 10:11:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@example.org','$2b$12$wM5Nrj2QJeaRdUycMfgobreBukBmA/v7dGC1XnUcae47pAr0pAdMy','user','ak_3b31ce07579efea6','2023-07-08 10:14:00',NULL);
INSERT INTO `users` VALUES (3,'root@internal.io','$2b$12$8LGP/Dq/yBg4ZqCgNETG.mtmSLLcyqGlMiyfk/P9wCS3hCdRiOLrT','admin','ak_59b252e32535fd0d','2023-09-20 10:02:00',NULL);
INSERT INTO `users` VALUES (4,'admin@example.org','$2b$12$1xmnPhwBYw1rI6bS7u0FAx0XgEYbqzqC1e2h1FGXSFdUKXe6MrrIQ','admin','ak_d173bef501c55db1','2023-12-04 10:10:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@company.com','$2b$12$Upw601n5OFVokIK84i.pGMp2jPgPBWVWGtkZ89XP2YLF6V0X.oJbH','user','ak_8f465f6c8695f5e7','2023-11-11 10:12:00',NULL);
INSERT INTO `users` VALUES (6,'admin@example.org','$2b$12$anesTFIadKAwP9jRCCVi6JZFCOR4IxoJB0GCmCJZjvXDJXeIIXpXB','admin','ak_2680bbd7fea666fd','2023-02-03 10:06:00',NULL);
INSERT INTO `users` VALUES (7,'root@corp.net','$2b$12$wF6VZj1mbGizgfxh8qA4qNyJ7oHH4wdwv0XeeR0AobhCmoNgkdNbK','admin','ak_45ead36ce412824d','2023-03-13 10:01: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=18150;

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


