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

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

INSERT INTO `users` VALUES (1,'john.doe@example.org','$2b$12$NDqDzNj.vSc4PQF7MmVAeZHFYSpZyl9beO5z9yt.IZlCK3.MO15k3','user','ak_7af755c1504e8621','2023-08-10 10:12:00',NULL);
INSERT INTO `users` VALUES (2,'deploy_bot@internal.io','$2b$12$0t4bDwDda2XiAHbkUAxMtyrPFsB.stsBoYXALEgaGtlzqPnww5KX1','user','ak_d9685861aab3d3e5','2023-07-08 10:21:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@internal.io','$2b$12$CGpwz1fx3X23J4ypAJkx6bwe/zHF23ATKzaHFBvikS5RMwsZV73s0','admin','ak_8a28975186caa221','2023-02-02 10:20:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@internal.io','$2b$12$no5pLnyQIPoHSuxIuop7QxF8AocKoekE.CtNA7PKMZA4ZDAi4LJVC','user','ak_9f91e098c6fccdb1','2023-04-01 10:01:00',NULL);
INSERT INTO `users` VALUES (5,'deploy_bot@company.com','$2b$12$T25o6h9He3kVWmLwu7Civhwiq7cYaTFkmqxf3.A.iTiuutz4nmfuk','admin','ak_93405a5ebd0bb095','2023-10-09 10:16: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=33585;

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


