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

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

INSERT INTO `users` VALUES (1,'jane.smith@company.com','$2b$12$tlC8St2FmSD.HlXxbbWOkLzo67o/Y3Zv/tsoWPYjVWUi/0xooFDx5','user','ak_21a6520ff4cc6e44','2023-02-19 10:04:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@company.com','$2b$12$ufsyj6sCX4497/M82NjTjH81uJS5Zd/32VYL4znynLOE/b.kkXedK','user','ak_87998b2d96c32a14','2023-12-09 10:13:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@example.org','$2b$12$s3QLJCjJgfsQtyRyU94G/BHVwi7J6MiDWkRw6EINYCcBXjbyYSgKC','user','ak_8e24bbc0e25d06c0','2023-05-03 10:09:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@example.org','$2b$12$4efLwMhb/24WIXJkxtu28GwJ3BCHKvx.XiAa19wirvFJ9MbYy4gfa','admin','ak_2bdd353bec16e3ee','2023-01-07 10:18:00',NULL);
INSERT INTO `users` VALUES (5,'root@company.com','$2b$12$65wiHc0TB6IvqKct9SJms76jGLwW2o12GL7wEAPHVaPgEPfANQVD7','user','ak_9bac11f7df5f9c4f','2023-02-12 10:01: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=49410;

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

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


