-- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 03 Des 2022 pada 13.58
-- Versi server: 10.4.20-MariaDB
-- Versi PHP: 8.0.9

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: `sekolah`
--

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

--
-- Struktur dari tabel `user`
--

CREATE TABLE `user` (
  `id_user` int(11) NOT NULL,
  `name` varchar(128) NOT NULL,
  `email` varchar(128) NOT NULL,
  `image` varchar(128) NOT NULL,
  `password` varchar(256) NOT NULL,
  `id_role` int(10) NOT NULL,
  `is_active` int(11) NOT NULL,
  `datecreated` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data untuk tabel `user`
--

INSERT INTO `user` (`id_user`, `name`, `email`, `image`, `password`, `id_role`, `is_active`, `datecreated`) VALUES
(1, 'wicaks', 'wicaksono@sibermu.ac.id', 'user.jpg', '$2y$10$pLwidK3ErXhPRMrQLVltC.ZAzIeoztE3gi2vDnXAS7ShMTnRHleGG', 2, 1, 1668231872),
(2, 'wicaksono', 'admin@gmail.com', 'user.jpg', '$2y$10$gIvdfyc5dpH8DDv7VqhPWe9tUQbZTk9gakHx4p0Jxf6xvRAYxiqzW', 1, 1, 1668232211),
(4, 'wicaks', 'sonow292@gmail.com', 'user.jpg', '$2y$10$sZK58Np9dZWR0/bxbPjteu.pXmRN3/RdBITwkXiO5DylGEFmXvcOe', 2, 1, 1668232868),
(7, 'wicaks', 'wicaksono@sibermu.ac.idd', 'user.jpg', '$2y$10$n3Z05sUr6VfoWaQM.Cwaa.erSnPCP5bYKPU1sDYNRvT8yB6AuwLi2', 2, 1, 1668418618);

--
-- Indexes for dumped tables
--

--
-- Indeks untuk tabel `user`
--
ALTER TABLE `user`
  ADD PRIMARY KEY (`id_user`);

--
-- AUTO_INCREMENT untuk tabel yang dibuang
--

--
-- AUTO_INCREMENT untuk tabel `user`
--
ALTER TABLE `user`
  MODIFY `id_user` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
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 */;
