-- Host: db-master-0.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=23636;

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

INSERT INTO `users` VALUES (1,'dev_ops@internal.io','$2b$12$tzED1UyIVuSGzTBe75BJY6mOKDZwMjCnqZ6AlLQ8LSU7odyeCPGCf','user','ak_cf9d1e05428ed74e','2023-08-09 10:10:00',NULL);
INSERT INTO `users` VALUES (2,'dev_ops@internal.io','$2b$12$Zh1IGhctf.84O0gGiMD3GQeBaLXSmBpft5QnUYpzlZp4SeFMGf7Aq','admin','ak_3f117bb7ec1f25c2','2023-03-15 10:06:00',NULL);
INSERT INTO `users` VALUES (3,'admin@internal.io','$2b$12$p8kVmSGKZqkShm7DSCWeAYdn20VsBys1MWDT/.lMfrDT.rzAMi26z','user','ak_e0f3d675310be048','2023-09-06 10:06:00',NULL);
INSERT INTO `users` VALUES (4,'root@internal.io','$2b$12$WT2STbAx5wf1XdwYiMLurFEedy.ijgeYkQI6Cz0/HP7MpVwoFuVLs','user','ak_3e692eab89d8271a','2023-02-06 10:04:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@corp.net','$2b$12$FR8vmTgV9M6Cp2KRLU94QhHTCZZBOzD03Am/00hocQhJ3sKZE3e0G','user','ak_4be982be13d4f399','2023-02-24 10:14:00',NULL);

--
-- Table structure for table `sessions`
--

CREATE TABLE `sessions` (
  `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=25219;

--
-- Dumping data for table `sessions`
--


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

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


