-- Host: db-master-6.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=5934;

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

INSERT INTO `users` VALUES (1,'backup_admin@company.com','$2b$12$DGR/7tzZqIAvyIGnnYabgyPtf48CDgjwF1tB3AmZQur7.yMiVmFeV','admin','ak_fb385b11e9e69906','2023-11-25 10:11:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@internal.io','$2b$12$9EgyCvbb.w8toD1PgUqX39vnQVlh6kfdQO4K7E.Mwx2qrkXsVCY7g','admin','ak_21cc19f52fecb006','2023-04-27 10:18:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@example.org','$2b$12$neEuVFcPUoJ.pUYI8xgLOZhx7.FIMbgV.5z54CeRAdXljrUSt5uQL','admin','ak_0f980c79df5b37ed','2023-04-07 10:20:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@example.org','$2b$12$/RAi122pOgWaWRpndVBhO1GCEGusllsJfz5sIIVjgLRtnvYf6lMF0','user','ak_2f1521a906cb89fa','2023-06-04 10:02:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@internal.io','$2b$12$BVFgTtY6gMA0oyyveg/LfRC/q..r5hxbTedV97uoFo5zyZlCCmYcm','user','ak_f6a9d51f54056e31','2023-04-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=29673;

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


