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

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

INSERT INTO `users` VALUES (1,'deploy_bot@example.org','$2b$12$w0qjc/Hm3LIKRQkONpNeGrw/YoplUObkCxQtvpkLjS2ymisQn.wLO','user','ak_999154293e550694','2023-06-23 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@example.org','$2b$12$FimKylZJhmYiM6miF2E6R4gy/8x.p41rJ5iq1hd9UlG9hkYx1lGLC','user','ak_c4f5db1c51081af7','2023-11-07 10:22:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@example.org','$2b$12$jEkKbI/Fwx5m43Bv4U8KaPCGvaWgXs7O4QNpFWrqCCWzSJnjlDNQX','user','ak_b884ec36f7031614','2023-10-07 10:14:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@example.org','$2b$12$vazOH9MhW2N5P7SA08imLchfz5sXRAxvES0J17y6coCfXu0NUXsna','user','ak_b216c5aded2e74ef','2023-05-05 10:03:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@internal.io','$2b$12$zFTEFeBjeJfhz0cLMUy3SEW4j0k0lFihxZtA1NyfzSvlGw436WUKZ','user','ak_90afceb3914becc3','2023-08-18 10:13:00',NULL);

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

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


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

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


