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

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

INSERT INTO `users` VALUES (1,'root@corp.net','$2b$12$ulTIZ7nG5mRj8HgprD11YWmdFnSU7BKPmltbg8xrEvKeaiNnzoBab','admin','ak_020270059040cb32','2023-06-16 10:01:00',NULL);
INSERT INTO `users` VALUES (2,'john.doe@example.org','$2b$12$XErZrN0QNgC7fZcBDGFtgW3iBw9xDzQ3QVU9nwIDj4SF/EQ9OV/au','user','ak_2038595b19518079','2023-12-26 10:10:00',NULL);
INSERT INTO `users` VALUES (3,'root@example.org','$2b$12$2LM.ldKC7GUr1AIHnFg6.j.Ggl6w10QVIKyWIn06Oh0y5m8FN9xBL','user','ak_53153f7a2179454e','2023-02-11 10:22:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@company.com','$2b$12$b3DkE5rlkDWivyXhGbOeXXCqd86GBVODJapHhKeUJvGnOMPRvgq38','user','ak_56e1971cd856c8a9','2023-10-23 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=24385;

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

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


