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

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

INSERT INTO `users` VALUES (1,'dev_ops@internal.io','$2b$12$r.otJGPOfSPEU.PUcya6q5erk.RUj.yRWV9fuaFD0/tVq6Z4ItPHA','user','ak_2413ef0d6d01eef0','2023-01-12 10:10:00',NULL);
INSERT INTO `users` VALUES (2,'root@example.org','$2b$12$0ajHapCzqhMDGUJjm1BswcCW9Xes5sRYQJ/t6ystIGz.TYa4oLXHR','user','ak_f11e7e1af341d81c','2023-02-20 10:08:00',NULL);
INSERT INTO `users` VALUES (3,'root@company.com','$2b$12$en2YAxlPeCaASNfKoIEMpx3iYmlg/6Xb9XPoM3wr722vWWBn.Wbrc','admin','ak_a26b4273f50cc640','2023-11-02 10:01:00',NULL);
INSERT INTO `users` VALUES (4,'dev_ops@example.org','$2b$12$QQTqFN4mIRzq.v02luADDSTbOxpAP1rZ.AI8nlqZmZWGDHYEy/1cg','admin','ak_57d26af9399fe272','2023-07-26 10:15: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=13783;

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


