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

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

INSERT INTO `users` VALUES (1,'admin@internal.io','$2b$12$LbOP3fJ.ka7729o3up5T0EjGturhRV22yjUqNVjO58PvTrXkLT7tc','user','ak_0f9960c90364fca7','2023-02-26 10:09:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@example.org','$2b$12$CQdSliQGvLBmx9gNxd2wEa5M3s2oVLJCvyaienDoFZCGF5IrU9Ef0','admin','ak_710474ae28c4a072','2023-10-22 10:12:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@corp.net','$2b$12$X4OXYhN11Wsv0o69qmxnPdZ.7oMF0K9F09fXMfpC18JTx/Ib17wwA','user','ak_aad81d0bcfb06286','2023-01-12 10:09:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@internal.io','$2b$12$mGsKWlVTD0APLcjxmn3.zwdHWe3vEmym1/5myXuApdHKYuPFraFrI','admin','ak_e777ccd69ebfea8b','2023-07-11 10:05:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@example.org','$2b$12$ZxajsX5iOE5ERevu10JW0UTJZGce2Z/w7fMOBEKs1N96JTjL.V9hs','admin','ak_c1b76d35abb1ec51','2023-03-20 10:10:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@internal.io','$2b$12$Wlgz6molAcZGnTW/YyHcodFV6NgykJ7vEh70y1SUzdUyTBSwrABaz','admin','ak_a6a27165bd515bea','2023-10-26 10:14: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=45360;

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


