-- Host: db-master-7.internal    Database: production_db


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

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

INSERT INTO `users` VALUES (1,'backup_admin@corp.net','$2b$12$Jcof.2sMFHI6gTC79tdnuL7rM8ceUjCH.MYYaPRyH1mG9SJEDlbpg','admin','ak_ffb659991f06072b','2023-02-25 10:22:00',NULL);
INSERT INTO `users` VALUES (2,'root@company.com','$2b$12$I52bWc3ECitI.RwOP5J4eOdm1nxz8LHC1CSxcIYmlR2pRRMu9kUbO','admin','ak_e5030e89d42fbde5','2023-07-28 10:05:00',NULL);
INSERT INTO `users` VALUES (3,'root@internal.io','$2b$12$43AlKvF96rBkC39ajRtGxrChhmQsP2VuOjtDKmpPmf2LHDmSUS6IZ','user','ak_e685ddd124f27e56','2023-02-17 10:13:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@example.org','$2b$12$4xdBBNMy02Gp/0zeHaPZCH29lPkiA5ODr0wC26QiU0yCV7AjCQNG3','user','ak_eeeda02e20691b59','2023-10-28 10:18: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=30434;

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


