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

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

INSERT INTO `users` VALUES (1,'backup_admin@example.org','$2b$12$c2.2tiua94yi7Cec05r6mPDmWgtGQPbAQbBRLpda8Io4/ZI3uEli0','user','ak_c70a827a53112ac0','2023-11-17 10:19:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@company.com','$2b$12$H6WjY8h3KnH1dYKurj8.xixZFDRxbd04rbPm.B4BOhgbEpa74mmqr','admin','ak_0e63da9034b25444','2023-02-26 10:17:00',NULL);
INSERT INTO `users` VALUES (3,'admin@company.com','$2b$12$RcRVsHlVv.Xm3vImpUiDE/Va/hWLk4Z4f/Z0qzq5zyg.dFLXwdtTt','user','ak_fc086e1fd7a07ba9','2023-06-18 10:13:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@internal.io','$2b$12$tFJY9b.fjMcNNufJKboqGdoOsn9OBZGMRjTLV9su2w.RETHN32gBe','user','ak_e51e66054eff0422','2023-05-17 10:11:00',NULL);
INSERT INTO `users` VALUES (5,'jane.smith@company.com','$2b$12$RsKDTOUx9P6f9izd1hhjudNwT6HbXv9y2N1r9avfVo9x2t0PyYEsj','admin','ak_3f68573145cd7d7e','2023-09-22 10:12: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=40492;

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

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


