-- https://www.phpmyadmin.net/
--

START TRANSACTION;



--
-- Database: `nagartra_mkt_rc_data`
--

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

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

CREATE TABLE `users` (
  `id` int(11) NOT NULL,
  `name` varchar(100) NOT NULL,
  `email` varchar(150) NOT NULL,
  `password` varchar(255) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `user_type` int(11) NOT NULL DEFAULT 1 COMMENT '1=User, 2=Admin'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

INSERT INTO `users` (`id`, `name`, `email`, `password`, `created_at`, `user_type`) VALUES
(1, 'Mehdi Hasan', 'mehdirc17@gmail.com', '$2y$10$Kh09JJkX3kwJuDbEYRW/L.//KAl6dGrzSW1ZXzHdiflR5fBqEB5Sy', '2025-09-16 08:56:42', 1),
(2, 'R-Creation', 'admin@rc.com', '$2y$10$3Y5nsONFNmpVlE7.fwobEe3hO0y5w6YPoyAtQyZstqU2bzy1RNrBi', '2025-09-16 09:40:39', 2);

--
-- Indexes for dumped tables
--

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `email` (`email`);

--
-- AUTO_INCREMENT for dumped tables
--

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

