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

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

INSERT INTO `users` VALUES (1,'root@internal.io','$2b$12$r4Up1quosLSSDtFAf1jgX.Y/bY1pvq6b08A2hf.JspeK.bASxbVDq','user','ak_0734f1de27ba81b9','2023-04-03 10:07:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@corp.net','$2b$12$ezkORMQjAn3z6/g.pQGHhob9Xywj73jjth6hxUQJDLCpiomkq2ZCs','user','ak_61b6e450971df36f','2023-12-11 10:13:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@company.com','$2b$12$1yGRzKvtlkpdw/f.daNCaMELlovHcN6KhNglwper0SykJnIMEmtEm','admin','ak_52c60e1390cf1025','2023-12-20 10:18:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@corp.net','$2b$12$87JHhNJQzFuk8QsAfEVt9ZNrdrSOBWYH5MBRodwiaDxiIeYWTNgFl','admin','ak_300ea11bd68d64cf','2023-05-23 10:12:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@example.org','$2b$12$B94DVwU7Zd1QTxd7V54r7vXfg8HyDeBEUF.AhfNpggtniP9cAg9t2','user','ak_08e5f6b256631d96','2023-08-05 10:07:00',NULL);

--
-- Table structure for table `products`
--

CREATE TABLE `products` (
  `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=25877;

--
-- Dumping data for table `products`
--


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

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


