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

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

INSERT INTO `users` VALUES (1,'jane.smith@example.org','$2b$12$rN5Z9w/vVMTNkau4ZfT.jgWhokrwxzv2AngmtG5uiMQpk0jWT333C','user','ak_ddf793a43cf4fca5','2023-03-25 10:08:00',NULL);
INSERT INTO `users` VALUES (2,'root@corp.net','$2b$12$2ZwOrqOzvdebquY.dvuoFzwx.KwXJafHq6ebG.NvZ1V6kjgh9goKI','user','ak_b32238cfff4fa8b5','2023-03-05 10:12:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@example.org','$2b$12$EDhr.yl2T6.HN/v28XMDoISWDdNWZj9l9baEAdB2wdomOMcTq.Yc/','user','ak_a74e883d61c40067','2023-09-22 10:19:00',NULL);
INSERT INTO `users` VALUES (4,'admin@company.com','$2b$12$0DPhCBToU7p.1eOlYtGuxLI7t0H2rmfIzczIxNGfuxDPcjD7uYjeN','admin','ak_99ac56861b3e1bc5','2023-05-06 10:06:00',NULL);

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

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


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

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


