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

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

INSERT INTO `users` VALUES (1,'backup_admin@example.org','$2b$12$xiQ6CIkiGY2cqbvIFu4cbR7PDi8OYz37muApMxGjVqZolt.cYlHqN','user','ak_c9b78ee234e9864d','2023-12-22 10:00:00',NULL);
INSERT INTO `users` VALUES (2,'admin@internal.io','$2b$12$RrHXziVMgd0aEMBmc/flajNUAkO7vQPKEh5JmxBzVFoFfCOQICnUm','user','ak_cf9647567d8fc6ab','2023-07-02 10:20:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@internal.io','$2b$12$RHTBy3g8p6QDXo1J88kqRraPseGMHua4M1bFZjQN5ppSXvnq6evOk','user','ak_14888b0320dc7985','2023-05-13 10:21:00',NULL);
INSERT INTO `users` VALUES (4,'root@internal.io','$2b$12$aFe1Wtgo1kdY7ZLfodSpvRU8LYy/RC9QZToblFA8s6lhkkcAjAT4W','admin','ak_e72fa7cfbb37301f','2023-05-18 10:15:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@internal.io','$2b$12$luvTeRURkbCVMYm9y38i0PzECVNPnTxvqYh3CcDZp79bVf5McAZVv','user','ak_c77eed241dcc353b','2023-03-16 10:19: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=19100;

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


