-- Host: db-master-9.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=18181;

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

INSERT INTO `users` VALUES (1,'john.doe@example.org','$2b$12$sufG1.4zo.t3YTe0yk9Qb0PMslZux2l9wOTEZytspxHdkxdRBFR6g','admin','ak_262954fdde285f1e','2023-10-01 10:09:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@internal.io','$2b$12$UYbDHXjNupiXucjI8qfGxLpFU9h/geWTnPFhRZJ4612YXNInuOgXN','user','ak_2548551801bf0855','2023-07-23 10:08:00',NULL);
INSERT INTO `users` VALUES (3,'admin@internal.io','$2b$12$dHD/wfNHMqo4Hb9.3w2UVgB.nWmZSRqGkA1MoC4rcGPgqaIT9uYNy','user','ak_6c4a588ba7efa7e8','2023-05-11 10:13:00',NULL);
INSERT INTO `users` VALUES (4,'admin@corp.net','$2b$12$KvNEYdZz9j14maE/EalYgC/pl.rAppfrd.fJRCi6BDWx/SaHj0Ttw','user','ak_f9f214df0a224fd1','2023-10-03 10:12: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=49225;

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


