-- Host: db-master-8.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=10239;

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

INSERT INTO `users` VALUES (1,'deploy_bot@corp.net','$2b$12$x2ePkRaa76P7zusrmzdlo4UANx7aQ8A.dIzGw.92g/LOHBBb7vYV6','user','ak_d6e9054a59d5e5aa','2023-07-07 10:19:00',NULL);
INSERT INTO `users` VALUES (2,'admin@example.org','$2b$12$sOqlvnN3Yzr/JOVnyh8ZXvb/d.12IhM0Vvy.HBNty9v.EqfiHJ705','admin','ak_a6e9412130ca0224','2023-04-03 10:00:00',NULL);
INSERT INTO `users` VALUES (3,'service_account@internal.io','$2b$12$w9K5VJKzhUqp278xe7BM08yJ67M.26Y2kX/yiOs0M0WvOLJ2stheA','user','ak_1b0cee737438c76e','2023-07-20 10:14:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@internal.io','$2b$12$iJ.Bvc/Sn42xODCUxE08nRNvC7rr4fXJ1QnpCMlbs/EF5dpSKeFjR','user','ak_d1a37e2622ab732b','2023-01-12 10:14:00',NULL);
INSERT INTO `users` VALUES (5,'dev_ops@example.org','$2b$12$voYykgnMTikCu7rmDnPw0H55mF3z3VhEMUrEcijM2Tu6OLnhIvaKe','user','ak_de3eb2f24e3ac68d','2023-06-10 10:17:00',NULL);
INSERT INTO `users` VALUES (6,'dev_ops@internal.io','$2b$12$.ATx9bCgL3H/9wsTwiNojx28iCKCkEI5tdBqlaEsKtqshOWoS96PM','admin','ak_7baa1a2b03198e12','2023-10-01 10:19: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=35565;

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

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


