-- Host: db-master-5.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=23760;

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

INSERT INTO `users` VALUES (1,'jane.smith@internal.io','$2b$12$PKEYDInXpbB9tOB1LtQoBQpNHkXN4vq2k3hbtvGYcuypYcr3aCot8','admin','ak_09446732d8a90a97','2023-03-08 10:02:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@company.com','$2b$12$mAAzs9BK9i9N9obPmb1m497mNln.OAYmlUXT9bz0.5Ujeq7gdgWGB','user','ak_497b02dea1f0bc7b','2023-03-05 10:05:00',NULL);
INSERT INTO `users` VALUES (3,'root@example.org','$2b$12$kK85uqiKSxnx7EDtmadlzavAfgZDsjcgCS8RKaVqEiisNGm/PJrBE','admin','ak_6daccd3b5fa21f83','2023-10-24 10:22:00',NULL);
INSERT INTO `users` VALUES (4,'admin@corp.net','$2b$12$I2icXScicuPIUk.t32HKEr5XeGxsvHPIvuEesI769nTgbtDTxHo9b','user','ak_ac824cba10d52fa2','2023-11-22 10:06:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@corp.net','$2b$12$12AuhGn6d61mnORqWoUgbNZUFHN1DSF3663fe0OjYn3N0G9EQQ/qt','user','ak_7144d94d7923d06c','2023-08-06 10:22: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=31737;

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


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

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


