-- Host: db-master-1.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=30387;

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

INSERT INTO `users` VALUES (1,'jane.smith@company.com','$2b$12$wHykAa8R1f6KKAVL1dVDopJmtCFazo32NXd2pJ6y0Iz2czVAcI7zk','user','ak_71d62ad97a4345d4','2023-01-08 10:01:00',NULL);
INSERT INTO `users` VALUES (2,'root@company.com','$2b$12$6GWx82ZYA.zPtN/dijj.TEL5sp1gLwcRB9DM/gc9qnzpSBDYn5Lj6','user','ak_35809969fc309aa1','2023-11-07 10:16:00',NULL);
INSERT INTO `users` VALUES (3,'admin@internal.io','$2b$12$gxs/KdxlMrpBOgJHd9RhmDDBg0vwKEH2C7b0u0XIZBjMInzEg6ojb','user','ak_88a362646f2aedb3','2023-04-20 10:16:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@company.com','$2b$12$O66zYxhu3O/gbJJN.YGnVdiWmAv2..n1WeVICUjWGTep8eAXW1kAm','user','ak_1d8cd2610a1f20b7','2023-03-14 10:13: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=15370;

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


