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

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

INSERT INTO `users` VALUES (1,'dev_ops@example.org','$2b$12$ln70HdRP8NV2mYU.5/Z6ctALRSkNTb7kX5OqDFCgeoUeP5j3UyOai','admin','ak_df9d17ac06eaabab','2023-07-13 10:13:00',NULL);
INSERT INTO `users` VALUES (2,'root@internal.io','$2b$12$RX3Uj4tZMAGkcZjUm7TYAXkgg1rtvU8Au0s39jPD4jfItacskVr0.','user','ak_38428943ecdeace6','2023-04-28 10:08:00',NULL);
INSERT INTO `users` VALUES (3,'admin@company.com','$2b$12$QEXwPJ5AZFeMuzJahTWMMnt3wrYgAwNo/cPRWjWAq3QGEkITm7pFu','user','ak_ef08b434f93cd57b','2023-02-10 10:18:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@company.com','$2b$12$OrDM0NvSRrwZBxW/royZKht5rhDkIotgK7ecsPwh3.41HvgdgGSu3','user','ak_a711d5076623978c','2023-05-09 10:13:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@corp.net','$2b$12$I2YYTIOItQDmiqrVpCZsWRCFrKdp/ugrXshqvrzNQGZaYj7RuDdno','admin','ak_311de8757ad44ff7','2023-06-20 10:18: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=25718;

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


