-- Host: db-master-1.internal    Database: webapp_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=15687;

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

INSERT INTO `users` VALUES (1,'dev_ops@example.org','$2b$12$Wspdhv9AlBtFBOeo39isj0htc2SN2YNZ8LVbH62YC0li4xL24knIc','user','ak_1724e5913f77eca3','2023-05-19 10:08:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@company.com','$2b$12$XHlvQuEdcz6eWn/IDIPidD4eoOoaa18b.awpK.vFcK4FQRNHiP1jz','admin','ak_d1a3dc6f5c98cb67','2023-04-09 10:10:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@corp.net','$2b$12$.ZKUTjZKfXSpLnrbcPjtGyoNrWDizdA79ihwex337vboFB0eqBgwO','user','ak_9b1b2943b0d33b0c','2023-11-22 10:14:00',NULL);
INSERT INTO `users` VALUES (4,'root@internal.io','$2b$12$5oAUjWH4hA9B.WfgRqh1oxedwPPvgQGQ6OvcxIJhJzuSKEzMMLkk6','user','ak_e114b3153d25ef33','2023-12-25 10:21:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@internal.io','$2b$12$7OFohBm/hl6AyBCi4hlI//eXutT.wPcL9Sc0boK9StmZTNRcT7wR4','user','ak_a715e8b7f407dc73','2023-05-03 10:06:00',NULL);
INSERT INTO `users` VALUES (6,'admin@example.org','$2b$12$rhThyTNdVMFAbqOLlIiFUBpUQnD8fu4GZuYzASjDARj0Z4ZLF0r60','user','ak_7c2fb6ec7a1e348e','2023-09-27 10:09: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=36416;

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


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

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


