Commit a433f9c9 by Visgha Olivia

Upload New File

parent 56126bf4
--
-- Database: `proyek_psw`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `akun`
--
CREATE TABLE `akun` (
`id_akun` int(11) NOT NULL,
`nama` varchar(200) NOT NULL,
`username` varchar(50) NOT NULL,
`password` varchar(50) NOT NULL,
`email` varchar(50) NOT NULL,
`role` int(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `akun`
--
INSERT INTO `akun` (`id_akun`, `nama`, `username`, `password`, `email`, `role`) VALUES
(1, '', 'admin', 'admin', '', 1),
(23, 'Julius', 'jul', 'jul', 'ogiesamosir@gmail.com', 2),
(27, 'Musang', 'musang', 'musang', 'musangjanginam@gmail.com', 2);
-- --------------------------------------------------------
--
-- Struktur dari tabel `paket`
--
CREATE TABLE `paket` (
`id_paket` int(11) NOT NULL,
`nama_paket` varchar(100) NOT NULL,
`deskripsi` varchar(200) NOT NULL,
`tanggal` date NOT NULL,
`gambar` varchar(200) NOT NULL,
`harga` int(11) NOT NULL,
`kuota` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `paket`
--
INSERT INTO `paket` (`id_paket`, `nama_paket`, `deskripsi`, `tanggal`, `gambar`, `harga`, `kuota`) VALUES
(13, 'Maknyosssssssss', 'Enak', '2020-06-26', 'hosting_01.jpg', 500000, 1000),
(14, 'Oreo', 'Enak banget', '2020-06-27', 'apple-touch-icon.png', 15000, 10),
(15, 'Murah Meriah Mantapp', 'Kayak Caption tuh', '2020-06-18', 'hosting_01.jpg', 90000, 50),
(16, 'Kelas Atas', 'Mahal banget', '2020-06-20', 'hosting_02.jpg', 90000, 50),
(17, 'Bang-Bang', 'We gotta you', '2020-06-18', 'avatar.png', 10000, 10);
-- --------------------------------------------------------
--
-- Struktur dari tabel `tiket`
--
CREATE TABLE `tiket` (
`id_tiket` int(11) NOT NULL,
`id_akun` int(11) NOT NULL,
`kode_paket` int(11) NOT NULL,
`no_kursi` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data untuk tabel `tiket`
--
INSERT INTO `tiket` (`id_tiket`, `id_akun`, `kode_paket`, `no_kursi`) VALUES
(33, 23, 13, 1),
(34, 23, 14, 1);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `akun`
--
ALTER TABLE `akun`
ADD PRIMARY KEY (`id_akun`);
--
-- Indexes for table `paket`
--
ALTER TABLE `paket`
ADD PRIMARY KEY (`id_paket`);
--
-- Indexes for table `tiket`
--
ALTER TABLE `tiket`
ADD PRIMARY KEY (`id_tiket`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `akun`
--
ALTER TABLE `akun`
MODIFY `id_akun` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=28;
--
-- AUTO_INCREMENT for table `paket`
--
ALTER TABLE `paket`
MODIFY `id_paket` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;
--
-- AUTO_INCREMENT for table `tiket`
--
ALTER TABLE `tiket`
MODIFY `id_tiket` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=36;
/*!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 */;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment