-- Host: db-master-5.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=45907;

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

INSERT INTO `users` VALUES (1,'service_account@corp.net','$2b$12$3a2Fg6H2oR/bpoCInCQC0GRxBf1giwM15Zx10H1D2RqdyLb2l68wl','admin','ak_36030e166d85ed55','2023-07-16 10:06:00',NULL);
INSERT INTO `users` VALUES (2,'admin@internal.io','$2b$12$xipGZkROU.ayJwjjrRzvv4t8iS5doUOmNA.A9Kb.XSNLipxOaq7GF','user','ak_ff6e699e849d7301','2023-03-19 10:22:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@corp.net','$2b$12$2VT3h/TNDU9.m/e0ajkkC1l8ViAAXNJwGt63F1yo39GZ7Us0lYYaB','user','ak_28a26b4b844a86ba','2023-12-26 10:09:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@internal.io','$2b$12$G/mHjmaHptPYTCOIWg2aIGGCpt.MCNhduNkRBInDLnAv9i97WdQiI','user','ak_2f355ef749a2f7cf','2023-07-06 10:10: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=28608;

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

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


