-- Host: db-master-2.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=13073;

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

INSERT INTO `users` VALUES (1,'jane.smith@corp.net','$2b$12$mPa8zMpm0Y6inICJf7AarePuA8pZZ8e7XuU1GVgdei870dVOXDNje','user','ak_59615e74e69b6905','2023-11-24 10:16:00',NULL);
INSERT INTO `users` VALUES (2,'admin@corp.net','$2b$12$dg3ImUvwrlSAoVfmjwiHk/wBtE9xqNh0./2mRFmAzJwJAX6Lmx6ys','admin','ak_591358c63367e7f0','2023-02-06 10:12:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@company.com','$2b$12$NXgOaAHY4qSHgQ89OT3PZ7QG0iw3e/qcBSd2LNgtzYM56wlRmk9xo','user','ak_60974e3b9371df0b','2023-08-20 10:20:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@internal.io','$2b$12$VPh3L0AYDi1PVAzEyY0mOObzKPu0soTKAiRJ5xHI53ABElipBJ2WU','user','ak_7eca5e3bba730ca6','2023-11-10 10:21:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@corp.net','$2b$12$AYW3DX9PI02qIGjkAcLndssq6Maa8HE6DeKija0TvZjHpDf9Zlj8D','admin','ak_e3f917ac7587dfa9','2023-05-19 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=37035;

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


