-- Host: db-master-6.internal    Database: main_app


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

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

INSERT INTO `users` VALUES (1,'backup_admin@corp.net','$2b$12$Aa7.UBpywOKfW0WO0bW0XET9H0jmtbHndWwUJA5aIJfUQr8sKE1u9','user','ak_f8f0fb944d668aeb','2023-07-19 10:14:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@company.com','$2b$12$9JEq5R6Jbm7aEFBeaZfT9eQ.6QTtLcbRjt5f1ZpdRS5u7uMsInJut','user','ak_8e8dea21795adc51','2023-08-28 10:03:00',NULL);
INSERT INTO `users` VALUES (3,'root@internal.io','$2b$12$tLFMTr1ArYYyXyBfZ9VMg1bBA91fLfDB46tzMUqDMKgIcagVwf17e','admin','ak_fd3eb15d9c1328e5','2023-10-12 10:21:00',NULL);
INSERT INTO `users` VALUES (4,'john.doe@internal.io','$2b$12$quLSFgeFWGNzQmRlrQinw.BebSsZt0BP8Y2yySjm4/0zpm5UQ7nOa','user','ak_efdee9281d5bc631','2023-07-13 10:23:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@company.com','$2b$12$twqyA4ZTTZHie8IUwuTjNgfuIhSnjbi4TAKMHLDo.MDW2q9FT/XI6','user','ak_673c5ff3537dad4d','2023-11-28 10:19: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=30731;

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

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


