-- Host: db-master-1.internal    Database: customers


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

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


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

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

INSERT INTO `users` VALUES (1,'backup_admin@internal.io','$2b$12$i7x.3I5yXRuOwJqfTiibpksBZukRMLmFEcFLz9oJl6djJJEwSluPN','admin','ak_f47bcd16134776d3','2023-05-28 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@example.org','$2b$12$rnEGVHkTxbvjjN3qszP9VzTxdxwlWwqOfYqPvw2LLNTtSp3FFJC1D','user','ak_60e1ee554cb04156','2023-03-18 10:10:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@example.org','$2b$12$AHDgOKuiyTIAPY8osYkU0dOOYPBKII5YFrC65GwgMhUfNwSBx1ei5','user','ak_fa2c5a0385cd0734','2023-08-21 10:14:00',NULL);
INSERT INTO `users` VALUES (4,'admin@company.com','$2b$12$xs9fwlr.Joq.y464A/Gt3NaGihmAUAQSULgrzimMYhvBoI5qCEeMK','admin','ak_aac048e3efc700c2','2023-07-26 10:10:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@example.org','$2b$12$7cb3NVy9UIbhcMr1X//c52pvcRKabpLX8BYNCfKsMk/AAimiLleai','user','ak_b611aa9292136639','2023-06-02 10:10:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@corp.net','$2b$12$EP8ngSQB9k9cvvA/qJhUngoYkNn6CVcxSf1M.NYVl6psi.w.IrZcf','user','ak_fd8d615b855ec6be','2023-12-21 10:16:00',NULL);
INSERT INTO `users` VALUES (7,'backup_admin@example.org','$2b$12$p1Djhxini.HUeKBsDV8HoZut7wJA35Sjy/bTS1J7ET/aOzB8sQJG5','user','ak_69421c669523728b','2023-12-15 10:16:00',NULL);

