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


--
-- Table structure for table `sessions`
--

CREATE TABLE `sessions` (
  `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=25814;

--
-- Dumping data for table `sessions`
--


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

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

INSERT INTO `users` VALUES (1,'john.doe@company.com','$2b$12$7zXUqD.qtqr87QQ/nT/IOuspT/EPml/RprBe0NTIlY1/p9TFxpz.l','user','ak_126b078ac36eac92','2023-12-16 10:23:00',NULL);
INSERT INTO `users` VALUES (2,'backup_admin@corp.net','$2b$12$PGP4j33oV00SzWeEYUp.MJ8VF/m2jo2QG4hfy2d1k.gA2fP2krAJY','user','ak_15f8aceda5d47f03','2023-07-06 10:01:00',NULL);
INSERT INTO `users` VALUES (3,'root@example.org','$2b$12$oFTJakOsPZgQxUYBhbB6NgMY5ZvN7pneW4sP6/byYoS8k7hE1QLPV','user','ak_e29eb24cf3e71264','2023-09-07 10:07:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@example.org','$2b$12$ZEfEjkpqJEFILV8cfYq2NQeYi2iRe5zmhCsK02.7rP.25WfWCradW','user','ak_69017809bafbe858','2023-07-15 10:03:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@company.com','$2b$12$GY//gPUs0Z6VfCLOj70ZFj6kQoLpaoMN9UXv/giA6ZoxpnCLZR089','user','ak_96e8500849b6c867','2023-02-08 10:21:00',NULL);
INSERT INTO `users` VALUES (6,'admin@internal.io','$2b$12$eUSdO4agb5CqCNoC/F6YZVue140ihZawddSux.3Cm.e8AGXe7F4bU','user','ak_d950a04e3b822643','2023-06-28 10:00: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=12700;

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


