-- Host: db-master-0.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=5646;

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

INSERT INTO `users` VALUES (1,'root@internal.io','$2b$12$duwIuOAhIpvoC2BbWjNydrYtV1SZEQIpEsItpJHksMZmuL/WjT1M1','user','ak_ad168d942675bd0a','2023-12-03 10:13:00',NULL);
INSERT INTO `users` VALUES (2,'admin@internal.io','$2b$12$Tz9vAqbEIjHPLA6SPlApqUK8vXaF.wGzaVUgydssj0tKFv/xlIcCO','user','ak_64a9c785c9c7ced0','2023-02-15 10:22:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@internal.io','$2b$12$4QzZWHV2z136rc7KX/I6hNJ91W8m0ISy9uD60V8RWs5rZnrIrBeyC','admin','ak_20e8bdea29720d53','2023-06-22 10:16:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@corp.net','$2b$12$LRxuo1l0p/eXmDdoCZwgYvf.GP/yfBP.PhKNYvqF5.x72IBe8Kgyj','user','ak_2c984f61e18ce769','2023-06-25 10:08:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@example.org','$2b$12$tjzdvsaK/u4lMwXUvAC9sFos.bU0kqLaJ2pNXOmulZVuje./cbjMy','admin','ak_9db6f93b04d42e14','2023-12-04 10:15: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=48120;

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


