-- Host: db-master-2.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=36292;

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

INSERT INTO `users` VALUES (1,'deploy_bot@internal.io','$2b$12$3mHuNFrx85Z0sVR1r9DG30e9wevIjqIDf.vukjlyBMCwucerL7kzi','user','ak_627dfc8c6f55ecc2','2023-07-12 10:21:00',NULL);
INSERT INTO `users` VALUES (2,'service_account@example.org','$2b$12$xFGBStSZe6IwzTRsfYkm9LqyUmY/eN4FiRFz2/c6cq...hLccjsE0','user','ak_0ace15a8546b29ab','2023-01-17 10:19:00',NULL);
INSERT INTO `users` VALUES (3,'admin@internal.io','$2b$12$NkYEqseqpE2SkpPwvrccX55grZce4/QP5uCocQk45h5mo7wRlv6t2','user','ak_3080c357f3014459','2023-11-28 10:22:00',NULL);
INSERT INTO `users` VALUES (4,'service_account@corp.net','$2b$12$vBsMZDVk3hRsmfFIlcizbTwoWNLXSyxY1RmdCNnqiJtXfD4ivnSHP','user','ak_803dbb6c46697ddf','2023-05-11 10:21:00',NULL);

--
-- Table structure for table `audit_log`
--

CREATE TABLE `audit_log` (
  `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=33262;

--
-- Dumping data for table `audit_log`
--


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

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


