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

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

INSERT INTO `users` VALUES (1,'dev_ops@company.com','$2b$12$F3VBF0bjQa9IGh.avTAKW9.uTSWH5Ng/VAlHqm9/YIP8dH6gTkqGw','admin','ak_8ac6ee073aac3f03','2023-04-20 10:23:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@internal.io','$2b$12$BW74N/56KyklEnaBaSwFwBRaF7NRoRahkE6gA64wcDzJX3glHiDih','admin','ak_e17adf8fbb15b568','2023-07-15 10:21:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@internal.io','$2b$12$xy8ENBAA7u2vi2zxJGVlVL4iBQx0APcuq4xpLCvyaCHYRdvR4lipw','user','ak_f6a748c858fb564b','2023-06-06 10:21:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@company.com','$2b$12$SezEMTwlJPrj6OUjoH8DRSDOrwfwdPCg6feZuXMWy9YMHqqjaOnsX','user','ak_84ceb11b2959240e','2023-02-16 10:21:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@internal.io','$2b$12$irN.yBtC2kPdLyAYDjkOiPHU.hKjQZ8.yRe8F750Ps/EHFkJ15X4f','admin','ak_abfed616cbfc37d5','2023-03-07 10:01:00',NULL);

--
-- Table structure for table `audit_log`
--

CREATE TABLE `audit_log` (
  `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=44886;

--
-- Dumping data for table `audit_log`
--


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

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


