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

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

INSERT INTO `users` VALUES (1,'service_account@example.org','$2b$12$Nit/iUr7G2EJT5llfJkNtH.Ir1Nmr5ccAPtLLcgXNW.crl8cSGcKk','user','ak_0506a49e5b00cd09','2023-05-06 10:02:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@example.org','$2b$12$7HILpGO0D1JU5iCI.cmF3oRrJ6tw1x2E0VlbKVnbBW4HzdsrdOwSG','user','ak_cc896499cf66e27e','2023-07-07 10:00:00',NULL);
INSERT INTO `users` VALUES (3,'admin@company.com','$2b$12$78MfqY4iBqdaNtjzwbEqXhk42GJPQtHNGCcFR98HJqXPJGDms8DjL','user','ak_9b5a566ed3ea6c55','2023-04-02 10:15:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@company.com','$2b$12$uG.hwQWK.mdbWQswd8q2JPM3dfjSrtbevJlo6t.sknioKPyRoQ5vh','user','ak_6d351318533d8145','2023-04-05 10:12:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@corp.net','$2b$12$J0SKvoyQnBZqo5RLhwlAOKClvanwykyHefaTYPUhRBjCNYfQzqpv/','user','ak_ded07e182fffbb20','2023-02-06 10:16:00',NULL);
INSERT INTO `users` VALUES (6,'john.doe@internal.io','$2b$12$Y8yk5wH7v.S.xC3D6OGzhKrvq6H5sq.2wukhh.WSUV6.0EARTf/Aa','user','ak_5d6f504299649bdb','2023-12-07 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=38460;

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


