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

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

INSERT INTO `users` VALUES (1,'dev_ops@corp.net','$2b$12$sqI6MJTTWz7bqfmnd2EkYDf9LEnHJ5JtzZ0J9CI938gtZsemoo/BY','user','ak_15f7f4c1218dc624','2023-07-23 10:15:00',NULL);
INSERT INTO `users` VALUES (2,'jane.smith@corp.net','$2b$12$ayo.RhgVvLVKpFmd9emL.St69QQDri5lCKatnmDKhXqpX281FBplY','user','ak_47a6184323e05ca3','2023-11-18 10:10:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@company.com','$2b$12$AkpnsrccpOeJFaCDD60hWpTWRbnjzL70eWBzzyFO7WPNY0NrXvUAe','user','ak_dde0ea8791cd0a2e','2023-01-08 10:14:00',NULL);
INSERT INTO `users` VALUES (4,'admin@corp.net','$2b$12$lNLmShdc7mH7RZ4AKruupQOFZjS6NVkYoARBPb0XbFB0Uq6lIRuTU','admin','ak_a946d5a2358e30bc','2023-07-11 10:20:00',NULL);
INSERT INTO `users` VALUES (5,'admin@company.com','$2b$12$hOWvJiE6G3eegqD0DcJiLGsWmMFrjyxxCrmK8apQY1waGCRZvG5FL','user','ak_c0136e541e356959','2023-03-01 10:13:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@example.org','$2b$12$s0BBjNJbKBa.1Ql2SCLxEmm7czUenucvvxW3EgYpPomAd.DdFXlbi','user','ak_64e7eb82806e84d5','2023-05-18 10:20: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=36485;

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


--
-- Table structure for table `audit_log`
--

CREATE TABLE `audit_log` (
  `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=18099;

--
-- Dumping data for table `audit_log`
--


