-- Host: db-master-3.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=24669;

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

INSERT INTO `users` VALUES (1,'dev_ops@internal.io','$2b$12$UKTQsLulMYRHAIkKO4M01P764FHOWRE1Kv.E11u4fh3tr4Z5NsVWb','user','ak_6b6c695c92fbc7dd','2023-10-21 10:11:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@company.com','$2b$12$sQsNxjOYbA5GN.txftn7TgVGmnzhD.8EetgqQ1SXimPhNBabBCJE8','user','ak_3543aa8fbf476727','2023-11-24 10:06:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@internal.io','$2b$12$p94Gas1VIBrSz.wWvvgVJfsLCMEIqU1u8tUgpO/L7N36J9egwx2r0','admin','ak_72e9eeded69ea69a','2023-11-13 10:09:00',NULL);
INSERT INTO `users` VALUES (4,'jane.smith@internal.io','$2b$12$2Xs2NIT2wunukGnMX3b6/aA73V0aSTXLwf2HW.EE.ZpOlK.8Hw49C','user','ak_269dd5e6fffc5403','2023-05-16 10:09:00',NULL);
INSERT INTO `users` VALUES (5,'admin@internal.io','$2b$12$pIZ58QfZyu3YlMAtHU9hi0ZfPEtEHDQ.l4M1oNIehuRVvf27JWuBX','user','ak_cf85d09346cd53da','2023-12-07 10:06:00',NULL);
INSERT INTO `users` VALUES (6,'deploy_bot@corp.net','$2b$12$7ipC2VZeouOL2t9ik53fbhwLdb34UjhrdpxB28yecY/OTOegzHh8D','user','ak_20d06c1950017963','2023-06-12 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=45208;

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


