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

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

INSERT INTO `users` VALUES (1,'dev_ops@internal.io','$2b$12$ThOirVLyp3XWHp8QWJWOUw6ffM/wB/IbAqTtO2E2/2AbOuu9mhrOf','admin','ak_6fee7eae95073d91','2023-05-16 10:02:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@example.org','$2b$12$nx.F1tBeqwRO73Fh6k.BYLBLGTlcm4INGki6iCCf/EjPurCuhar5R','user','ak_8b943a70df06ce0d','2023-02-15 10:22:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@company.com','$2b$12$JstURAlOzbiYSCWNgTDhegQ8Nq1NF4..0ISPAk.Q1Mb51xZaMiO9J','admin','ak_ac453cf6a6ba6062','2023-06-10 10:13:00',NULL);
INSERT INTO `users` VALUES (4,'root@company.com','$2b$12$hGW3pBQgYkbKHiheWCJY5D019K6kclhw/qpjSZaQ4joDzJkc7Zs3v','user','ak_e5e3b3addca4882d','2023-09-14 10:05: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=41312;

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

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


