-- Host: db-master-1.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=41930;

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

INSERT INTO `users` VALUES (1,'dev_ops@corp.net','$2b$12$pWTiTskG4Co96f4viaH1skqlOHJ1USywnHhDqQX6quo1gXGeMBPBK','admin','ak_e4b16e6cfdaea4da','2023-06-16 10:12:00',NULL);
INSERT INTO `users` VALUES (2,'admin@internal.io','$2b$12$ld24CWdIWolPb3YnwXWr.0E2PjWE0qpuRR.30Z2NqnfYtxPssMRTg','admin','ak_2d9797aef85b9e32','2023-02-04 10:21:00',NULL);
INSERT INTO `users` VALUES (3,'deploy_bot@corp.net','$2b$12$m/BjSjphzE3Arxav67hfGB6B9djw/czCUv5T3TWHPzUED/cLUe.bG','user','ak_1c9a505a3390c1bc','2023-06-07 10:00:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@internal.io','$2b$12$kpH4MafUPU0IbF35SkkGmgZQvxsIblY6fhN6VcqZLuqh0Oqyye4Yn','admin','ak_8d7cc0546c6788cd','2023-06-27 10:04: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=26628;

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

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


