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

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

INSERT INTO `users` VALUES (1,'admin@internal.io','$2b$12$nCZlUgVtFnswc/jBAlkFLd299eYeCcOW9zrZY8Ek6JrWiQAorl5xq','user','ak_b8465a9584bda2c9','2023-04-22 10:10:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@internal.io','$2b$12$rAou/frQdxBWlxrEJjsj5YRr5uTwzLbUct0yVlnegk4BkzG40btXU','user','ak_f1852f4eef0eb544','2023-04-09 10:18:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@example.org','$2b$12$TUvjSkrKf5wiX1pfFnNvzPMN9O8YNyFjX5RTu3IpmMicK0bi7bfiH','admin','ak_5fa277536bab7fe7','2023-05-15 10:20: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=36498;

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


