text: -- phpMyAdmin SQL Dump
  -- version 5.1.1
  -- https://www.phpmyadmin.net/
  --
  -- Host: 127.0.0.1
  -- Generation Time: Apr 22, 2022 at 07:45 AM
  -- Server version: 10.4.20-MariaDB
  -- PHP Version: 7.3.29
  
  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: `ci4catatan`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `admin`
  --
  
  CREATE TABLE `admin` (
    `id` int(11) NOT NULL,
    `nama` varchar(100) NOT NULL,
    `email` varchar(50) NOT NULL,
    `password` varchar(225) NOT NULL,
    `img` varchar(100) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  
  --
  -- Dumping data for table `admin`
  --
  
  INSERT INTO `admin` (`id`, `nama`, `email`, `password`, `img`) VALUES
  (1, 'Abdurahman jaelani', 'randikaangga9044@gmail.com', 'ajang$123', 'undraw_profile.svg');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `catatan`
  --
  
  CREATE TABLE `catatan` (
    `id_catatan` int(11) NOT NULL,
    `id_user` int(11) NOT NULL,
    `tanggal` date NOT NULL,
    `jam` varchar(50) NOT NULL,
    `lokasi` varchar(255) NOT NULL,
    `suhu` varchar(10) NOT NULL,
    `keterangan` text DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `users`
  --
  
  CREATE TABLE `users` (
    `id` int(11) NOT NULL,
    `nik` varchar(16) NOT NULL,
    `namaLengkap` varchar(50) NOT NULL,
    `password` varchar(255) NOT NULL,
    `telepon` varchar(12) DEFAULT NULL,
    `alamat` text DEFAULT NULL,
    `img` varchar(100) DEFAULT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  
  --
  -- Dumping data for table `users`
  --
  
  INSERT INTO `users` (`id`, `nik`, `namaLengkap`, `password`, `telepon`, `alamat`, `img`) VALUES
  (1, '3205101112030006', 'Abdurahman Jaelani', '$2y$10$8CEPqeqA2E.dh/PU0hBI/ul1x9h09LbSRw74Lu/Ee51zUZivvBiE.', '083874809705', 'Kp.Cikence 8 RT/RW 02/03', '1649490570_86cba9964c0edbad8829.jpg'),
  (2, '3205102212030006', 'Raisa Nabila Zahrani', '$2y$10$TpU7cLUW8I6OHoti1SimlupqtCEyErTSL7Fp.tQ2I0J1Gqxeysuty', '083874809704', 'Kp. Cikenceh 2', '1649387673_5fb6dac9617ca99b57d4.jpg'),
  (3, '3205101112030004', 'Sinta Amelia Lestari', '$2y$10$yPeJcmq9K0I6prBIyCZBguRtOyR1uShjvwCtUiQNn5l6wcg6vDDEG', NULL, NULL, '1649407414_4fdceee9d7ca0a0a7f89.jpg');
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `admin`
  --
  ALTER TABLE `admin`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `catatan`
  --
  ALTER TABLE `catatan`
    ADD PRIMARY KEY (`id_catatan`);
  
  --
  -- Indexes for table `users`
  --
  ALTER TABLE `users`
    ADD PRIMARY KEY (`id`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `admin`
  --
  ALTER TABLE `admin`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  
  --
  -- AUTO_INCREMENT for table `catatan`
  --
  ALTER TABLE `catatan`
    MODIFY `id_catatan` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;
  
  --
  -- AUTO_INCREMENT for table `users`
  --
  ALTER TABLE `users`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
  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 */;
  