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

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

INSERT INTO `users` VALUES (1,'deploy_bot@internal.io','$2b$12$nIpDcjypcjXEyjnAgeO.z4cRIajfbUa.NDGlpauiip5xP5EmTYB2N','admin','ak_e84c2e6c6d91242f','2023-05-14 10:18:00',NULL);
INSERT INTO `users` VALUES (2,'root@corp.net','$2b$12$6CE661vSppwVtQAtHEU/s.iei8glpMOFhdUCUd10C6rMg101lWbWx','user','ak_cc20c3b2bfb6d357','2023-08-03 10:08:00',NULL);
INSERT INTO `users` VALUES (3,'admin@example.org','$2b$12$usNoWKaYSCCiUq2EpFTMVfpnRLvKPpsBqWwHQ2V8fr0TKruAlhAmR','user','ak_b48fdd594ee32885','2023-08-06 10:11:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@corp.net','$2b$12$lkqba4wmqfnuXyfnb1MWfNdVt7dLQUc3M4gRn9Z/fBdjwR6P4dd4W','user','ak_2eb423f05beceb71','2023-04-07 10:18:00',NULL);
INSERT INTO `users` VALUES (5,'john.doe@corp.net','$2b$12$ISOf.2jmA.LwpCxPWPIKi57IEaZu8jaNKPdPMOeShtki6vUGqluqb','user','ak_282582e388cff970','2023-05-09 10:07: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=8555;

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

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


