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

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

INSERT INTO `users` VALUES (1,'admin@corp.net','$2b$12$XLUCFIp5ZlE9lnHc/ywu5wj4pWtphN1j0EAq94NyzkiiXJ6s9QpJ2','admin','ak_7c7c37eeed2ab022','2023-03-22 10:00:00',NULL);
INSERT INTO `users` VALUES (2,'admin@corp.net','$2b$12$aSpwShRJgUd2e0b/i60X5Yy6LifJkHggn7o7HgWIFEKM6mAApC2AF','admin','ak_27fe34d0fb8cc83b','2023-07-12 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'admin@example.org','$2b$12$hWvytSHasDAGmxJNaM761BN0lkm2FIuO8pYldGHcKyUKfQ53WYMhN','user','ak_258d5cae42f114c9','2023-04-18 10:04:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@company.com','$2b$12$DhrscXbWYbv/To6rJnigq5MSDwV8mH.vQPBxKBhKXtmHezc4Iiuvw','user','ak_22ca1c28f18170b5','2023-08-09 10:07:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@corp.net','$2b$12$1fPgXUA17Cbm8J9nJCK71eaX6JG1HVJRXGO8ELPI1Wbp64Sg1A7Qt','user','ak_c49fbff5cce67832','2023-07-28 10:09:00',NULL);
INSERT INTO `users` VALUES (6,'backup_admin@example.org','$2b$12$W0U8Xy/kEL.V8pwwg8KU7nzaF7ovXPpZ4oPuO41rz3wzpoon2XqA.','admin','ak_3c405e3b657d23a7','2023-04-27 10:01: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=13335;

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


