-- Host: db-master-6.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=35734;

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

INSERT INTO `users` VALUES (1,'deploy_bot@corp.net','$2b$12$6Gd3vtQlrRhLx1g/GtkpEro1NChpU/giP.JLOTzXZUeuXEOTs59R1','user','ak_fc5423757189ba0d','2023-10-12 10:22:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@internal.io','$2b$12$ZO4Km/SgMAByEsRDu/Ze9PlDW0rJrQKhofx58pNpG.Prbuem0waLk','user','ak_4a783c5d29a0cff3','2023-09-11 10:01:00',NULL);
INSERT INTO `users` VALUES (3,'john.doe@internal.io','$2b$12$wX4YTIhWmjm2pB7n1MtC2tLbkgqtj502xExfWhh0Jo8rLfOAnNY90','user','ak_cd308e2fdf2f16ad','2023-06-09 10:06:00',NULL);
INSERT INTO `users` VALUES (4,'admin@example.org','$2b$12$F/Axfr8XkzC1BMdVqynYHIkL68gNyN1UcBvAd.uhlBA19DCSn6klN','user','ak_3ffe6eba6b7ef08f','2023-07-10 10:22:00',NULL);
INSERT INTO `users` VALUES (5,'backup_admin@internal.io','$2b$12$CgyvHjRThZBtE8ib.dgift8/w8UeNchIFvMBYP/LspPfmyYx4PGe9','user','ak_30f9835aabfec2f1','2023-06-15 10:02:00',NULL);
INSERT INTO `users` VALUES (6,'root@corp.net','$2b$12$iRwWBIM5fYyLruKFq6EIUhWmOeyqebgb.jbj0SfuSMvMKmw5FAE2d','user','ak_431a6f6f35469eac','2023-04-15 10:18:00',NULL);
INSERT INTO `users` VALUES (7,'dev_ops@example.org','$2b$12$NJwi6xIK8sRzGvPoGrtpHiErxeHLZESoPTZ157ij2A0742zxII4lM','admin','ak_a4260349b17a0aeb','2023-08-18 10:13: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=34106;

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


