text: -- phpMyAdmin SQL Dump
  -- version 4.8.3
  -- https://www.phpmyadmin.net/
  --
  -- Host: 127.0.0.1
  -- Generation Time: Apr 04, 2021 at 10:40 AM
  -- Server version: 10.1.36-MariaDB
  -- PHP Version: 7.2.10
  
  SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  SET AUTOCOMMIT = 0;
  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: `db_siperangdes`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `dokumen`
  --
  
  CREATE TABLE `dokumen` (
    `Id_Dok` int(5) NOT NULL,
    `Nama_Dokumen` varchar(30) NOT NULL,
    `File_Name` varchar(256) NOT NULL,
    `fk_PD` int(5) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `parameter`
  --
  
  CREATE TABLE `parameter` (
    `Id_Parameter` int(5) NOT NULL,
    `Nama_Parameter` varchar(50) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `parameter`
  --
  
  INSERT INTO `parameter` (`Id_Parameter`, `Nama_Parameter`) VALUES
  (1, 'biaya rumah');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `penerimaan`
  --
  
  CREATE TABLE `penerimaan` (
    `Id_Penerimaan` int(5) NOT NULL,
    `Tanggal_Penerimaan` date NOT NULL,
    `Nominal` int(15) NOT NULL,
    `fk_Parameter` int(5) NOT NULL,
    `fk_PD` int(5) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `pengeluaran`
  --
  
  CREATE TABLE `pengeluaran` (
    `Id_Pengeluaran` int(5) NOT NULL,
    `Tanggal_Pengeluaran` date NOT NULL,
    `Nominal` int(15) NOT NULL,
    `fk_Parameter` int(5) NOT NULL,
    `fk_PD` int(5) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `perangkat_desa`
  --
  
  CREATE TABLE `perangkat_desa` (
    `Id_PD` int(5) NOT NULL,
    `Nama` varchar(30) NOT NULL,
    `Tanggal_lahir` date NOT NULL,
    `Jabatan` varchar(15) NOT NULL,
    `Pendidikan` varchar(30) NOT NULL,
    `Password` varchar(256) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `perangkat_desa`
  --
  
  INSERT INTO `perangkat_desa` (`Id_PD`, `Nama`, `Tanggal_lahir`, `Jabatan`, `Pendidikan`, `Password`) VALUES
  (12312, 'uy', '2021-04-05', 'Kepala Desa', 'SMU', '123123');
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `dokumen`
  --
  ALTER TABLE `dokumen`
    ADD PRIMARY KEY (`Id_Dok`);
  
  --
  -- Indexes for table `parameter`
  --
  ALTER TABLE `parameter`
    ADD PRIMARY KEY (`Id_Parameter`);
  
  --
  -- Indexes for table `penerimaan`
  --
  ALTER TABLE `penerimaan`
    ADD PRIMARY KEY (`Id_Penerimaan`);
  
  --
  -- Indexes for table `pengeluaran`
  --
  ALTER TABLE `pengeluaran`
    ADD PRIMARY KEY (`Id_Pengeluaran`);
  
  --
  -- Indexes for table `perangkat_desa`
  --
  ALTER TABLE `perangkat_desa`
    ADD PRIMARY KEY (`Id_PD`);
  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 */;
  