-- Host: db-master-0.internal    Database: main_app


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

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

INSERT INTO `users` VALUES (1,'dev_ops@example.org','$2b$12$lx1zpqv7pkacI226ZBtKfL.Z0mo/uUOU7S4Gx8wV3doPjQJhB0vSr','user','ak_c8108984b9e945d8','2023-01-16 10:16:00',NULL);
INSERT INTO `users` VALUES (2,'admin@corp.net','$2b$12$Aa/rdgepmm/gfobshvTM8ziqoZ7E5W6/sVUESUIS.a.4UGNuB6LHC','user','ak_63a501e6306013a0','2023-03-28 10:17:00',NULL);
INSERT INTO `users` VALUES (3,'jane.smith@internal.io','$2b$12$erDuP87/KVwYiUj0H9DLWLiN496e5vjXURkJgGU3np3ZZ6BOT.3tz','user','ak_fb566a080c6f346f','2023-07-04 10:05:00',NULL);
INSERT INTO `users` VALUES (4,'admin@internal.io','$2b$12$KFHXxelZkIV/NC4CJpZW0AzGY7FL3wCsf5so9S42jyusKm0MfpLKy','user','ak_8a53d264fb7f5130','2023-01-09 10:00:00',NULL);
INSERT INTO `users` VALUES (5,'root@company.com','$2b$12$rmi1YlFHYSo1mTeVNGPL2xq8ZH20JrV1buHy6BJvN6zh1RfurtcTs','user','ak_22a29a2171afa9ee','2023-05-09 10:11: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=16231;

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

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


