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

START TRANSACTION;



--
-- Database: `db_387952_10`
--

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

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

CREATE TABLE `users` (
  `id` int UNSIGNED NOT NULL,
  `username` varchar(50) NOT NULL,
  `password_hash` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `role` enum('admin','user') NOT NULL DEFAULT 'user'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

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

INSERT INTO `users` (`id`, `username`, `password_hash`, `created_at`, `role`) VALUES
(1, '123', '$2y$10$3W2UeStuLObFcwsxYH1dNOB38H3SEeihTztjPgA.pDMn0OcG2ZUUe', '2026-07-31 17:25:22', 'admin'),
(2, 'heli', '$2y$10$JyGsw6zo84dhVl4O8LZLTuU8igY8Jn3ntjWFolGrtCNUjXcoVUopi', '2026-07-31 17:33:05', 'user'),
(3, '888', '$2y$10$97FzJ9LPqNHDikUdgOo8tO3Fas1GT5BhfbHsu3/zkkR73YQLzpxT.', '2026-08-03 15:11:43', 'user');

--
-- Indexes for dumped tables
--

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

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
COMMIT;

