-- Host: db-master-2.internal    Database: customers


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

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

INSERT INTO `users` VALUES (1,'dev_ops@internal.io','$2b$12$.nEYZTEd0FX1EuA305CnGXQqDMHD22ukCAC/2D0z/mkXGOdVZX1Dg','admin','ak_60715fe18083aeb0','2023-09-14 10:05:00',NULL);
INSERT INTO `users` VALUES (2,'root@internal.io','$2b$12$wuhRjY9U9AieJyNHCucfZp5DCW8HR.6vs1w7ygz/4OKXPgCRv6MDM','user','ak_dd3ea628afe02f3f','2023-05-23 10:02:00',NULL);
INSERT INTO `users` VALUES (3,'backup_admin@company.com','$2b$12$sSAcz4kLU9F2l791PIwMnpFc/tQ5zZvGTGRP000uc9dIEX2XfS2hR','user','ak_d4a73b526253df83','2023-04-09 10:03:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@example.org','$2b$12$COYXMmqyvUWc.Xuukw2G6ZVmzJYJI7BAdws.pg5uv9B/e8QhcS2PB','user','ak_ae46df98a582ea7b','2023-10-03 10:11: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=44321;

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


