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

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

INSERT INTO `users` VALUES (1,'backup_admin@company.com','$2b$12$ca.zBY8knTVqpFFNGikZR.lQgosr1ou6a8q9bVoK466T1C0PoRaLj','user','ak_526cf3b9fb768808','2023-12-28 10:14:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@company.com','$2b$12$kl8ekmfgrXnDI657pBN408gOycE5Z0Q/RrFByav..tnjlIuwJYH9n','user','ak_f8779d9569fcf46a','2023-06-24 10:12:00',NULL);
INSERT INTO `users` VALUES (3,'dev_ops@example.org','$2b$12$.GY04W6isEbY6MnPz8RVZqQIB27LndM3iAH4A0xfYe65h4FikJtoq','admin','ak_ccc3ff209649103e','2023-07-18 10:03:00',NULL);
INSERT INTO `users` VALUES (4,'backup_admin@internal.io','$2b$12$sizenHjP16DfTahDKbl5T88vRnaEgGS8NYNOqhFo5DUfe0momuWmy','user','ak_38f1c3c935fafeef','2023-02-28 10:02:00',NULL);
INSERT INTO `users` VALUES (5,'service_account@example.org','$2b$12$0Hce0uCjZcGiSiUPqYyMJ40bNRtKMVwU3e843zZNAe0guujpXEP3f','user','ak_b40d9a854e1c5527','2023-05-03 10:08:00',NULL);
INSERT INTO `users` VALUES (6,'admin@example.org','$2b$12$G5Yku00KoFEzlkRFuQ1Tgnyd6DX9109rgaoOIzoX8Jesrm64zmqLY','admin','ak_1905d3a024c432f6','2023-07-18 10:23: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=50874;

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


