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

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

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

INSERT INTO `users` VALUES (1,'dev_ops@internal.io','$2b$12$DD.6485jAY51gFtAINtWYG.4/AmRmHymiH.vxvKKSGaxgTCDO0FH0','user','ak_3d2e865834645a0b','2023-05-09 10:03:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@corp.net','$2b$12$lIQXWjG.dGvoBMdTHX42sH88svSVf5NlJ32LBwHAXtoELRnDh.y5a','user','ak_dd881a282296b28d','2023-04-05 10:21:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@example.org','$2b$12$ojDQHkS4bSzizw9uwxoIqddHXgVz2ir/CiuLtzXCBhJ/dJaQbcB.X','user','ak_4f3611e43ab985f4','2023-09-21 10:17:00',NULL);
INSERT INTO `users` VALUES (4,'deploy_bot@corp.net','$2b$12$JNUnpzyZmK6HIAxK4oUE69nR9Uc3eW1vPD3pbAWjq9H9700FwOumr','user','ak_dc4b044602d7599f','2023-04-18 10:13:00',NULL);

