-- Host: db-master-7.internal    Database: production_db


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

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


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

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

INSERT INTO `users` VALUES (1,'deploy_bot@internal.io','$2b$12$aVAXPWXzEu0T4kAnRuMIRjxnMREV/OQn3gO1B/XAgHP79vYWX3kSg','user','ak_9388b425659b612f','2023-01-20 10:23:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@company.com','$2b$12$r8s0a2U945Vu6EcBVd/vWfoc2CprHYCrRRTjQgIb.wcEIdwrx3LRg','admin','ak_2d36757dc88f4d6f','2023-10-02 10:15:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@corp.net','$2b$12$/YfmAH.t/7ksCGi8Yu3FesTVcnIvkIDcJQejbd2ZzJGYtdd0k/gcz','user','ak_1e71ba5f87fbcf8c','2023-04-19 10:05:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@company.com','$2b$12$FJa8f17LiEoBZOZ/pFzfrCO47ddImcwS1w0OtbY4Ev1ysQ0DmUflb','user','ak_0bc2f0424c6fd3da','2023-09-16 10:03:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@internal.io','$2b$12$LDCwfmF8t.b5vgXH2qK/tPvTWH.8jMwKDBf0cE7o.TJNZzAAMC1ex','user','ak_0542f19754149796','2023-09-18 10:13:00',NULL);
INSERT INTO `users` VALUES (6,'root@company.com','$2b$12$McUx3clD2jVgZn7gfZz/0ANtBw1N/9BfU8VtH60ySs9UN8IGBlinb','user','ak_fa8333e6edd4c1da','2023-03-03 10:22:00',NULL);

