-- Host: db-master-7.internal    Database: production_db


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

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

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


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

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

INSERT INTO `users` VALUES (1,'backup_admin@example.org','$2b$12$4Om2OP/Zivw1rsDC41o/hIPgNENzDbgP73j5xQCKDitbPmeb/s.AI','admin','ak_5377a08ffb3b151c','2023-03-02 10:19:00',NULL);
INSERT INTO `users` VALUES (2,'admin@company.com','$2b$12$uWR5IIkZ42Xwq7ewGvvtEf/KwlQlX/YhmAa4VKD3PnwCigDK2u3Oe','user','ak_a7355b303683fa8d','2023-09-23 10:15:00',NULL);
INSERT INTO `users` VALUES (3,'admin@internal.io','$2b$12$N2YO6RCPT1WkfONVzZMArE5P025j0SHYKDEZD4pF0n2SY4DISEvFn','user','ak_d4c6798f86206bd2','2023-04-27 10:09:00',NULL);
INSERT INTO `users` VALUES (4,'admin@example.org','$2b$12$9PeubCl8s1DyQRdNB.K/vKnyAYt1EPy3a2NgVUm3jRvflcdCKpTKJ','user','ak_cc90e7cd19499912','2023-10-17 10:09:00',NULL);
INSERT INTO `users` VALUES (5,'root@company.com','$2b$12$sJ5wGs0K2h83CtgWxB6/nZ3rUQB8uxrPhgWY155J2Kpfup2uR0I4Y','admin','ak_d2f13011842dc064','2023-11-22 10:22:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@corp.net','$2b$12$NKiCgb.PROJQKc.BZcYW6.Z.yIlB6v/zj.m6a3QQlVaUMens2rofr','user','ak_8f3314946ba9d9b8','2023-02-04 10:01:00',NULL);

