-- Host: db-master-0.internal    Database: production_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=28049;

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

INSERT INTO `users` VALUES (1,'service_account@example.org','$2b$12$r3EsZ6LOA7UjLpjW3SGW6mS.MpZOpAQ44KyTM91QhY0d1liz9uY6H','user','ak_4e7b6a599afc53c0','2023-04-18 10:10:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@company.com','$2b$12$rlovQN8q/wGLXP5mNNbzlvX.0RMcK1ICwtOfRnMLWSSe3dMCWi0Kp','admin','ak_08d6e941f5e45bc2','2023-11-16 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'admin@internal.io','$2b$12$.tVSi2aPuqDpXFumzDXC..cSwUv4jfR.JC.kmGub05E8GRuEJuuxA','user','ak_2c3bfeb3a8d5adc2','2023-05-21 10:11:00',NULL);
INSERT INTO `users` VALUES (4,'root@internal.io','$2b$12$VKtb.ou2ba1G/0QMiY4QH88YJ8phARzSzQqpDST5e1bw6Q1Sal1WS','user','ak_86f8331f096a5e87','2023-02-04 10:00:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@internal.io','$2b$12$TwjabZs4ZMYVxMV3w0HTJ9DVQ1MAMXP1w8fJ8PIVLJnjZRn0q5xLI','user','ak_54f4eb97f99fe70f','2023-03-10 10:08: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=23894;

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

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


