-- phpMyAdmin SQL Dump
-- version 5.2.2
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: May 03, 2025 at 05:33 AM
-- Server version: 11.2.2-MariaDB
-- PHP Version: 8.2.14

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `starterkit`
--

-- --------------------------------------------------------

--
-- Table structure for table `roles`
--

CREATE TABLE `roles` (
  `role_id` int(11) NOT NULL,
  `role_name` varchar(128) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `roles`
--

INSERT INTO `roles` (`role_id`, `role_name`) VALUES
(1, 'Admin'),
(2, 'Editor'),
(3, 'User'),
(4, 'Moderator'),
(5, 'Contributor'),
(6, 'Manager'),
(7, 'Supervisor'),
(8, 'Support'),
(9, 'Developer'),
(10, 'Designer'),
(11, 'Analyst'),
(12, 'Auditor'),
(13, 'Intern'),
(14, 'Team Lead'),
(15, 'Project Manager'),
(16, 'HR'),
(17, 'Recruiter'),
(18, 'Finance'),
(19, 'Legal'),
(20, 'CEO'),
(21, 'Administrator'),
(22, 'Viewer');

-- --------------------------------------------------------

--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `user_id` int(11) NOT NULL,
  `username` varchar(123) DEFAULT NULL,
  `email` varchar(128) DEFAULT NULL,
  `role_id` int(11) NOT NULL,
  `status` enum('active','inactive') NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

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

INSERT INTO `users` (`user_id`, `username`, `email`, `role_id`, `status`) VALUES
(1, 'test', 'test@nai.com', 1, 'active'),
(2, 'bob_the_dev', 'bob.dev@example.com', 3, 'inactive'),
(3, 'carla99', 'carla99@example.com', 1, 'active'),
(4, 'dave_admin', 'dave.admin@example.com', 1, 'inactive'),
(5, 'eve_cyber', 'eve.cyber@example.com', 4, 'active'),
(6, 'frankie_32', 'frankie32@example.com', 2, 'active'),
(7, 'grace_h', 'grace.h@example.com', 3, 'inactive'),
(8, 'hank_r', 'hank.r@example.com', 2, 'active'),
(9, 'irene_tech', 'irene.tech@example.com', 3, 'active'),
(10, 'jackson_m', 'jackson.m@example.com', 1, 'inactive'),
(11, 'kate_dev', 'kate.dev@example.com', 4, 'active'),
(12, 'leo_g', 'leo.g@example.com', 2, 'active'),
(13, 'maya_data', 'maya.data@example.com', 3, 'inactive'),
(14, 'nick_admin', 'nick.admin@example.com', 1, 'active'),
(15, 'olivia_r', 'olivia.r@example.com', 2, 'inactive'),
(16, 'peter_q', 'peter.q@example.com', 3, 'active'),
(17, 'quinn_l', 'quinn.l@example.com', 4, 'active'),
(18, 'rachel_b', 'rachel.b@example.com', 1, 'inactive'),
(19, 'steve_t', 'steve.t@example.com', 2, 'active'),
(20, 'tina_x', 'tina.x@example.com', 3, 'active'),
(21, 'alice01', 'alice01@example.com', 2, 'active');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
  ADD PRIMARY KEY (`role_id`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`user_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `roles`
--
ALTER TABLE `roles`
  MODIFY `role_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;

--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `user_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
