text: -- phpMyAdmin SQL Dump
  -- version 4.6.6deb5
  -- https://www.phpmyadmin.net/
  --
  -- Host: localhost:3306
  -- Generation Time: 26 Des 2019 pada 19.30
  -- Versi Server: 10.1.41-MariaDB-0ubuntu0.18.04.1
  -- PHP Version: 7.2.19-0ubuntu0.18.04.2
  
  SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  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: `app_bayar`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Struktur dari tabel `billing`
  --
  
  CREATE TABLE `billing` (
    `id` int(11) NOT NULL,
    `start_date` date NOT NULL,
    `type_billing` varchar(255) NOT NULL,
    `pemilik` varchar(255) NOT NULL,
    `jatuh_tempo` date NOT NULL,
    `amount` int(255) NOT NULL,
    `status` varchar(255) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  
  --
  -- Dumping data untuk tabel `billing`
  --
  
  INSERT INTO `billing` (`id`, `start_date`, `type_billing`, `pemilik`, `jatuh_tempo`, `amount`, `status`) VALUES
  (1, '2019-12-11', 'spp', 'kvn', '2019-12-21', 10000000, '0'),
  (2, '2019-12-07', 'gedung', 'tata', '2019-12-31', 4000000, 'done');
  
  -- --------------------------------------------------------
  
  --
  -- Struktur dari tabel `transaction`
  --
  
  CREATE TABLE `transaction` (
    `id` int(11) NOT NULL,
    `billing_id` varchar(255) NOT NULL,
    `debtor` varchar(255) NOT NULL,
    `payment_method` varchar(255) NOT NULL,
    `date` date NOT NULL,
    `status` varchar(255) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  
  --
  -- Dumping data untuk tabel `transaction`
  --
  
  INSERT INTO `transaction` (`id`, `billing_id`, `debtor`, `payment_method`, `date`, `status`) VALUES
  (1, '12', 'dono', 'gopay', '2019-12-18', '88');
  
  -- --------------------------------------------------------
  
  --
  -- Struktur dari tabel `user`
  --
  
  CREATE TABLE `user` (
    `id` int(11) NOT NULL,
    `username` varchar(255) NOT NULL,
    `password` varchar(255) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  
  --
  -- Dumping data untuk tabel `user`
  --
  
  INSERT INTO `user` (`id`, `username`, `password`) VALUES
  (1, 'kevin', 'kevin');
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `billing`
  --
  ALTER TABLE `billing`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `transaction`
  --
  ALTER TABLE `transaction`
    ADD PRIMARY KEY (`id`);
  
  --
  -- Indexes for table `user`
  --
  ALTER TABLE `user`
    ADD PRIMARY KEY (`id`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `billing`
  --
  ALTER TABLE `billing`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
  --
  -- AUTO_INCREMENT for table `transaction`
  --
  ALTER TABLE `transaction`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  --
  -- AUTO_INCREMENT for table `user`
  --
  ALTER TABLE `user`
    MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  /*!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 */;
  