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

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

INSERT INTO `users` VALUES (1,'backup_admin@corp.net','$2b$12$LmttJ2sXpXDUD/zsa79Vr/eU7.p2oWU/T81lKGCkSc028uINl53O2','user','ak_d4204051103cdc1d','2023-03-23 10:12:00',NULL);
INSERT INTO `users` VALUES (2,'admin@example.org','$2b$12$SI4Dv4Gx5eA731GSgV5VjwEu45Jau7AtNhyCkUsqLsuk0aDlUSia8','admin','ak_cdde174ec16c90df','2023-08-19 10:02:00',NULL);
INSERT INTO `users` VALUES (3,'admin@internal.io','$2b$12$5K3gFuLWfhGL0QF5nCbZCa3dxBioxmFBZB.Z2nCVpEzXhDoOsFk9F','admin','ak_a739796413e1a190','2023-10-26 10:20:00',NULL);
INSERT INTO `users` VALUES (4,'root@internal.io','$2b$12$loCf0c4ZQ4u8tWCcYZwg9pfVtVroT7NtbiDlu7bG/3kNx6job9RhH','user','ak_c6355d6831717f9d','2023-02-26 10:16: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=14631;

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


