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


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

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

INSERT INTO `users` VALUES (1,'backup_admin@corp.net','$2b$12$SOsNdXfmQzd0EiAAwUFlt.9EzmMwZsBnzUccYQVtr.qnBZNtQLGrC','user','ak_1d764c6caeb3d765','2023-05-23 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@example.org','$2b$12$yNTLx3Pn6KNfO80lovloCznDlw6y3OQ0tC4Sk6aS7q5KcfbRKSY97','user','ak_c11b74782a0459d1','2023-10-12 10:05:00',NULL);
INSERT INTO `users` VALUES (3,'root@internal.io','$2b$12$UdGQD7jb9HO9d1uYBJUnT6i7/o4E79PBv59sHdkz5xqxjysBVri3l','user','ak_e0fff64a575cfa6e','2023-03-03 10:21:00',NULL);
INSERT INTO `users` VALUES (4,'admin@example.org','$2b$12$pa1bjuc4v0GWM6ZMv90slqnhRTldw9tCG7OoltqCN2ELZ3ZJXpI2c','admin','ak_2433745a46e8905e','2023-08-28 10:09:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@corp.net','$2b$12$t.npDchSvRoPEbTGSsRUZaMR5z75RtlGF9ay6inMZ3w6tvAnrdHgr','user','ak_f53a2e01d35e62b1','2023-02-05 10:17:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@internal.io','$2b$12$jzO2j.1u6.ENmKKsV9XW0YkAmRZF0xTgctPc8ZoxxiJ9O0Nr33cu/','user','ak_776c77ecf0863851','2023-08-10 10:11:00',NULL);
INSERT INTO `users` VALUES (7,'service_account@internal.io','$2b$12$jmV1fZ.ZXp50liS6QeCzoH2HbIjJUZojGw6nBGE9ivRRvayFc3D7X','admin','ak_19197b0dcf96ee9c','2023-02-26 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=14086;

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


