Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pa2d4ti06
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Juliper
pa2d4ti06
Commits
84423928
Commit
84423928
authored
May 09, 2017
by
Palti Sinaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntah apapun
parent
ba800e96
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
570 additions
and
7 deletions
+570
-7
p2d4ti06_test.sql
p2d4ti06_test.sql
+567
-0
master.blade.php
resources/views/vendor/adminlte/layouts/master.blade.php
+2
-2
htmlheader.blade.php
...s/vendor/adminlte/layouts/partialweb/htmlheader.blade.php
+1
-1
mainheader.blade.php
...s/vendor/adminlte/layouts/partialweb/mainheader.blade.php
+0
-4
No files found.
p2d4ti06_test.sql
0 → 100644
View file @
84423928
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: 09 Mei 2017 pada 14.35
-- Versi Server: 10.1.16-MariaDB
-- PHP Version: 7.0.9
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: `p2d4ti06_test`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `dinaspariwisata`
--
CREATE
TABLE
`dinaspariwisata`
(
`idPegawai`
int
(
10
)
UNSIGNED
NOT
NULL
,
`namaPegawai`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`divisiPegawai`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`created_at`
timestamp
NULL
DEFAULT
NULL
,
`updated_at`
timestamp
NULL
DEFAULT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COLLATE
=
utf8_unicode_ci
;
--
-- Dumping data untuk tabel `dinaspariwisata`
--
INSERT
INTO
`dinaspariwisata`
(
`idPegawai`
,
`namaPegawai`
,
`divisiPegawai`
,
`created_at`
,
`updated_at`
)
VALUES
(
2
,
'Juliper'
,
'Homestay'
,
'2017-05-03 01:19:00'
,
'2017-05-03 01:19:02'
);
-- --------------------------------------------------------
--
-- Struktur dari tabel `feedback`
--
CREATE
TABLE
`feedback`
(
`id`
int
(
10
)
UNSIGNED
NOT
NULL
,
`id_pemilikHomestay`
int
(
10
)
UNSIGNED
DEFAULT
NULL
,
`idPelanggan`
int
(
10
)
UNSIGNED
NOT
NULL
,
`feedback`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`created_at`
timestamp
NULL
DEFAULT
NULL
,
`updated_at`
timestamp
NULL
DEFAULT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COLLATE
=
utf8_unicode_ci
;
-- --------------------------------------------------------
--
-- Struktur dari tabel `homestay`
--
CREATE
TABLE
`homestay`
(
`id`
int
(
10
)
UNSIGNED
NOT
NULL
,
`idPemilik`
int
(
10
)
UNSIGNED
DEFAULT
NULL
,
`nama`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`owner`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`alamat`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`jumlahKamar`
int
(
11
)
NOT
NULL
,
`harga`
double
NOT
NULL
,
`status`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`created_at`
timestamp
NULL
DEFAULT
NULL
,
`updated_at`
timestamp
NULL
DEFAULT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COLLATE
=
utf8_unicode_ci
;
--
-- Dumping data untuk tabel `homestay`
--
INSERT
INTO
`homestay`
(
`id`
,
`idPemilik`
,
`nama`
,
`owner`
,
`alamat`
,
`jumlahKamar`
,
`harga`
,
`status`
,
`created_at`
,
`updated_at`
)
VALUES
(
9
,
6
,
'Test2'
,
'Palti Sinaga'
,
'Balige'
,
4
,
150000
,
'----'
,
'2017-05-08 02:51:28'
,
'2017-05-08 02:51:28'
);
-- --------------------------------------------------------
--
-- Struktur dari tabel `kamar`
--
CREATE
TABLE
`kamar`
(
`id`
int
(
10
)
UNSIGNED
NOT
NULL
,
`idHomestay`
int
(
10
)
UNSIGNED
DEFAULT
NULL
,
`idPemesanan`
int
(
10
)
UNSIGNED
DEFAULT
NULL
,
`nomor_kamar`
int
(
10
)
UNSIGNED
NOT
NULL
,
`jumlah_bed`
int
(
10
)
DEFAULT
NULL
,
`fasilitas`
varchar
(
255
)
DEFAULT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
--
-- Dumping data untuk tabel `kamar`
--
INSERT
INTO
`kamar`
(
`id`
,
`idHomestay`
,
`idPemesanan`
,
`nomor_kamar`
,
`jumlah_bed`
,
`fasilitas`
)
VALUES
(
8
,
9
,
NULL
,
1
,
2
,
NULL
),
(
9
,
9
,
NULL
,
2
,
2
,
NULL
),
(
10
,
9
,
NULL
,
3
,
2
,
NULL
),
(
11
,
9
,
NULL
,
4
,
2
,
NULL
);
-- --------------------------------------------------------
--
-- Struktur dari tabel `kategorifasilitas`
--
CREATE
TABLE
`kategorifasilitas`
(
`idFasilitas`
int
(
10
)
UNSIGNED
NOT
NULL
,
`namaFasilitas`
varchar
(
255
)
DEFAULT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
--
-- Dumping data untuk tabel `kategorifasilitas`
--
INSERT
INTO
`kategorifasilitas`
(
`idFasilitas`
,
`namaFasilitas`
)
VALUES
(
1
,
'Kamar Tidur'
),
(
2
,
'Perlatan Kamar Mandi'
);
-- --------------------------------------------------------
--
-- Struktur dari tabel `migrations`
--
CREATE
TABLE
`migrations`
(
`id`
int
(
10
)
UNSIGNED
NOT
NULL
,
`migration`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`batch`
int
(
11
)
NOT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COLLATE
=
utf8_unicode_ci
;
--
-- Dumping data untuk tabel `migrations`
--
INSERT
INTO
`migrations`
(
`id`
,
`migration`
,
`batch`
)
VALUES
(
1
,
'2014_10_12_000000_create_users_table'
,
1
),
(
2
,
'2014_10_12_100000_create_password_resets_table'
,
1
),
(
3
,
'2017_04_19_090402_Pelanggan'
,
2
),
(
4
,
'2017_04_19_090837_Admin'
,
2
),
(
5
,
'2017_04_19_091320_DinasPariwisata'
,
2
),
(
6
,
'2017_04_19_091651_PemilikiHomestay'
,
2
),
(
7
,
'2017_04_19_092041_Homestay'
,
2
),
(
8
,
'2017_04_19_101431_Pemesanan'
,
2
),
(
9
,
'2017_04_20_092606_Pembayaran'
,
2
),
(
10
,
'2017_04_22_074954_Feedback'
,
3
);
-- --------------------------------------------------------
--
-- Struktur dari tabel `password_resets`
--
CREATE
TABLE
`password_resets`
(
`email`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`token`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`created_at`
timestamp
NULL
DEFAULT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COLLATE
=
utf8_unicode_ci
;
-- --------------------------------------------------------
--
-- Struktur dari tabel `pelanggan`
--
CREATE
TABLE
`pelanggan`
(
`id_Pelanggan`
int
(
10
)
UNSIGNED
NOT
NULL
,
`id_Akun`
int
(
10
)
UNSIGNED
DEFAULT
NULL
,
`nama`
varchar
(
255
)
COLLATE
utf8_unicode_ci
DEFAULT
NULL
,
`alamat`
varchar
(
255
)
COLLATE
utf8_unicode_ci
DEFAULT
NULL
,
`noTelepon`
varchar
(
255
)
COLLATE
utf8_unicode_ci
DEFAULT
NULL
,
`pekerjaan`
varchar
(
255
)
COLLATE
utf8_unicode_ci
DEFAULT
NULL
,
`foto`
varchar
(
2555
)
COLLATE
utf8_unicode_ci
DEFAULT
NULL
,
`created_at`
timestamp
NULL
DEFAULT
NULL
,
`updated_at`
timestamp
NULL
DEFAULT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COLLATE
=
utf8_unicode_ci
;
--
-- Dumping data untuk tabel `pelanggan`
--
INSERT
INTO
`pelanggan`
(
`id_Pelanggan`
,
`id_Akun`
,
`nama`
,
`alamat`
,
`noTelepon`
,
`pekerjaan`
,
`foto`
,
`created_at`
,
`updated_at`
)
VALUES
(
2
,
12
,
'LesaTap'
,
'---'
,
'---'
,
'---'
,
NULL
,
'2017-05-09 02:32:54'
,
'2017-05-09 02:32:54'
),
(
3
,
14
,
'LesaTap'
,
'---'
,
'---'
,
'---'
,
NULL
,
'2017-05-09 02:41:21'
,
'2017-05-09 02:41:21'
),
(
4
,
15
,
'Parhuta'
,
'---'
,
'---'
,
'---'
,
NULL
,
'2017-05-09 03:12:56'
,
'2017-05-09 03:12:56'
);
-- --------------------------------------------------------
--
-- Struktur dari tabel `pembayaran`
--
CREATE
TABLE
`pembayaran`
(
`idPembayaran`
int
(
11
)
NOT
NULL
,
`idPemilikHomestay`
int
(
10
)
UNSIGNED
DEFAULT
NULL
,
`idPemesanan`
int
(
10
)
UNSIGNED
NOT
NULL
,
`totalHarga`
double
NOT
NULL
,
`buktiPembayaran`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`tanggalKonfirmasi`
date
NOT
NULL
,
`created_at`
timestamp
NULL
DEFAULT
NULL
,
`updated_at`
timestamp
NULL
DEFAULT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COLLATE
=
utf8_unicode_ci
;
-- --------------------------------------------------------
--
-- Struktur dari tabel `pemesanan`
--
CREATE
TABLE
`pemesanan`
(
`idPemesanan`
int
(
10
)
UNSIGNED
NOT
NULL
,
`idKamar`
int
(
10
)
UNSIGNED
NOT
NULL
,
`idPelanggan`
int
(
10
)
UNSIGNED
NOT
NULL
,
`status`
tinyint
(
1
)
NOT
NULL
,
`created_at`
timestamp
NULL
DEFAULT
NULL
,
`updated_at`
timestamp
NULL
DEFAULT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COLLATE
=
utf8_unicode_ci
;
-- --------------------------------------------------------
--
-- Struktur dari tabel `pemilikhomestay`
--
CREATE
TABLE
`pemilikhomestay`
(
`id`
int
(
10
)
UNSIGNED
NOT
NULL
,
`id_Akun`
int
(
10
)
UNSIGNED
DEFAULT
NULL
,
`nama`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`alamat`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`pekerjaan`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`noTelepon`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`noRekening`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`foto`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`created_at`
timestamp
NULL
DEFAULT
NULL
,
`updated_at`
timestamp
NULL
DEFAULT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COLLATE
=
utf8_unicode_ci
;
--
-- Dumping data untuk tabel `pemilikhomestay`
--
INSERT
INTO
`pemilikhomestay`
(
`id`
,
`id_Akun`
,
`nama`
,
`alamat`
,
`pekerjaan`
,
`noTelepon`
,
`noRekening`
,
`foto`
,
`created_at`
,
`updated_at`
)
VALUES
(
6
,
5
,
'Palti Sinaga'
,
'Balige'
,
'Petani'
,
'082145658976'
,
'12345678981'
,
'1469993_725963404098414_1076561403_n.jpg'
,
'2017-04-29 08:07:38'
,
'2017-05-01 05:49:21'
),
(
7
,
6
,
'Test'
,
'--'
,
'--'
,
'--'
,
'--'
,
'gravatar.png'
,
'2017-05-03 01:52:34'
,
'2017-05-03 01:52:34'
),
(
9
,
NULL
,
'Testing'
,
'--'
,
'--'
,
'--'
,
'--'
,
'gravatar.png'
,
'2017-05-08 19:36:39'
,
'2017-05-08 19:36:39'
);
-- --------------------------------------------------------
--
-- Struktur dari tabel `pengajuan_homestay`
--
CREATE
TABLE
`pengajuan_homestay`
(
`id`
int
(
10
)
NOT
NULL
,
`idPemilikHomestay`
int
(
10
)
UNSIGNED
DEFAULT
NULL
,
`idPgwDinasPariwisata`
int
(
101
)
UNSIGNED
DEFAULT
NULL
,
`namaHomestay`
varchar
(
255
)
NOT
NULL
,
`jumlahKamar`
int
(
10
)
NOT
NULL
,
`status`
int
(
1
)
DEFAULT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
--
-- Dumping data untuk tabel `pengajuan_homestay`
--
INSERT
INTO
`pengajuan_homestay`
(
`id`
,
`idPemilikHomestay`
,
`idPgwDinasPariwisata`
,
`namaHomestay`
,
`jumlahKamar`
,
`status`
)
VALUES
(
3
,
6
,
NULL
,
'Test2'
,
4
,
1
),
(
4
,
7
,
NULL
,
'Testing Katu'
,
3
,
0
);
-- --------------------------------------------------------
--
-- Struktur dari tabel `requestfasilitas`
--
CREATE
TABLE
`requestfasilitas`
(
`id`
int
(
11
)
NOT
NULL
,
`id_pemilik_homestay`
int
(
10
)
UNSIGNED
NOT
NULL
,
`id_kategoriFasiltas`
int
(
10
)
UNSIGNED
DEFAULT
NULL
,
`namaRequestFasilitas`
varchar
(
255
)
NOT
NULL
,
`deskripsi`
varchar
(
255
)
NOT
NULL
,
`jumlah`
int
(
11
)
NOT
NULL
,
`gambar`
varchar
(
255
)
DEFAULT
NULL
,
`status`
int
(
1
)
DEFAULT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
--
-- Dumping data untuk tabel `requestfasilitas`
--
INSERT
INTO
`requestfasilitas`
(
`id`
,
`id_pemilik_homestay`
,
`id_kategoriFasiltas`
,
`namaRequestFasilitas`
,
`deskripsi`
,
`jumlah`
,
`gambar`
,
`status`
)
VALUES
(
2
,
6
,
2
,
'Perbaikan Kamar Mandi'
,
'Kamar mandi sering kali kekurangan air saat di gunakan dan gayung rusak semua'
,
5
,
''
,
2
),
(
3
,
7
,
1
,
'Keramik Pecah'
,
'Terjadi Tsunami dan keramik rumah pecah beserta Homestay'
,
100
,
NULL
,
1
);
-- --------------------------------------------------------
--
-- Struktur dari tabel `users`
--
CREATE
TABLE
`users`
(
`id`
int
(
10
)
UNSIGNED
NOT
NULL
,
`name`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`username`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`email`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`password`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`foto`
varchar
(
255
)
COLLATE
utf8_unicode_ci
DEFAULT
NULL
,
`role`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`remember_token`
varchar
(
100
)
COLLATE
utf8_unicode_ci
DEFAULT
NULL
,
`created_at`
timestamp
NULL
DEFAULT
NULL
,
`updated_at`
timestamp
NULL
DEFAULT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COLLATE
=
utf8_unicode_ci
;
--
-- Dumping data untuk tabel `users`
--
INSERT
INTO
`users`
(
`id`
,
`name`
,
`username`
,
`email`
,
`password`
,
`foto`
,
`role`
,
`remember_token`
,
`created_at`
,
`updated_at`
)
VALUES
(
2
,
'Juliper'
,
'admin'
,
'admin@del.ac.id'
,
'$2y$10$nnnUgQAnb9FnDb3DNTlwaehkE5GiJ6piv8Yg/LXyXypdgaxigpHVe'
,
'gravatar.png'
,
'DinasPariwisata'
,
'1uOo9pfp4jpHS8c7tq3dypXcnborVStbH67IiAGc7Uns4rD7XD6SNHgclaUy'
,
'2017-04-22 02:30:14'
,
'2017-05-08 20:05:31'
),
(
5
,
'Palti Sinaga'
,
'palti'
,
'palti1@gmail.com'
,
'$2y$10$YZNp2gw4amlEQWi4hvDA9OfGixdYx1AIsl0.El8TzQoo9IPed8E..'
,
'gravatar.png'
,
'Owner'
,
'lLUKpdXPxtKUfytdETV1FqFLiePBg3OmILtEnX0RzSKrnvGk93EMeR728h3t'
,
'2017-04-29 08:07:38'
,
'2017-05-03 01:50:37'
),
(
6
,
'Test'
,
'test'
,
'test@gmail.com'
,
'$2y$10$rkcPTvpujOZZFRs/libdZeIED53Ve67HM/3C9Zb0jQE8hqxzhsIxW'
,
'gravatar.png'
,
'Owner'
,
'nRQV1WwDDMD9s6Le9v12vhYqN5iXLIr9hNRRU0d1Ta5Z5pCvhGV3wUXwXrhp'
,
'2017-05-03 01:52:34'
,
'2017-05-08 19:26:52'
),
(
8
,
'Testing'
,
'testing'
,
'testing@gmail.com'
,
'$2y$10$tDOBcuve8EGi.k8.v9at5eYZRMRdOyXmqaahfwG2pwyMrbWd3B1Ra'
,
'gravatar.png'
,
'Owner'
,
NULL
,
'2017-05-08 19:36:39'
,
'2017-05-08 19:36:39'
),
(
14
,
'LesaTap'
,
'lesa'
,
'lesa@gmail.com'
,
'$2y$10$zudTTxc6.lENGpFKwp093u9SuvEjidfYExLHk3vsOvZISDma1HChW'
,
'gravatar.png'
,
'Customer'
,
'EOtk4JrlBUKgZwUD5hJyUTHZxsUE81TXtnfTCr02GboC0ZhgFP9SIZ1aldyc'
,
'2017-05-09 02:41:21'
,
'2017-05-09 03:12:00'
),
(
15
,
'Parhuta'
,
'hutahuta'
,
'huta@gmail.com'
,
'$2y$10$S/thLiTQUbpZ6/utPKPwDe7JGoScFnebDK6Vt6sm0I.7CIoQ9HrWe'
,
'gravatar.png'
,
'Customer'
,
NULL
,
'2017-05-09 03:12:55'
,
'2017-05-09 03:12:55'
);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `dinaspariwisata`
--
ALTER
TABLE
`dinaspariwisata`
ADD
PRIMARY
KEY
(
`idPegawai`
);
--
-- Indexes for table `feedback`
--
ALTER
TABLE
`feedback`
ADD
PRIMARY
KEY
(
`id`
),
ADD
KEY
`idPelanggan`
(
`idPelanggan`
),
ADD
KEY
`id_pemilikHomestay`
(
`id_pemilikHomestay`
);
--
-- Indexes for table `homestay`
--
ALTER
TABLE
`homestay`
ADD
PRIMARY
KEY
(
`id`
),
ADD
UNIQUE
KEY
`nama`
(
`nama`
),
ADD
UNIQUE
KEY
`id_owner`
(
`owner`
),
ADD
KEY
`id_owner_2`
(
`owner`
),
ADD
KEY
`idPemilik`
(
`idPemilik`
),
ADD
KEY
`nama_2`
(
`nama`
);
--
-- Indexes for table `kamar`
--
ALTER
TABLE
`kamar`
ADD
PRIMARY
KEY
(
`id`
),
ADD
KEY
`idPemesanan`
(
`idPemesanan`
),
ADD
KEY
`idHomestay`
(
`idHomestay`
);
--
-- Indexes for table `kategorifasilitas`
--
ALTER
TABLE
`kategorifasilitas`
ADD
PRIMARY
KEY
(
`idFasilitas`
);
--
-- Indexes for table `migrations`
--
ALTER
TABLE
`migrations`
ADD
PRIMARY
KEY
(
`id`
);
--
-- Indexes for table `password_resets`
--
ALTER
TABLE
`password_resets`
ADD
KEY
`password_resets_email_index`
(
`email`
),
ADD
KEY
`password_resets_token_index`
(
`token`
);
--
-- Indexes for table `pelanggan`
--
ALTER
TABLE
`pelanggan`
ADD
PRIMARY
KEY
(
`id_Pelanggan`
);
--
-- Indexes for table `pembayaran`
--
ALTER
TABLE
`pembayaran`
ADD
KEY
`idPemilikHomestay`
(
`idPemilikHomestay`
),
ADD
KEY
`idPemesanan`
(
`idPemesanan`
);
--
-- Indexes for table `pemesanan`
--
ALTER
TABLE
`pemesanan`
ADD
PRIMARY
KEY
(
`idPemesanan`
),
ADD
KEY
`idKamar`
(
`idKamar`
),
ADD
KEY
`idPelanggan`
(
`idPelanggan`
);
--
-- Indexes for table `pemilikhomestay`
--
ALTER
TABLE
`pemilikhomestay`
ADD
PRIMARY
KEY
(
`id`
),
ADD
UNIQUE
KEY
`nama`
(
`nama`
),
ADD
KEY
`id_Akun`
(
`id_Akun`
);
--
-- Indexes for table `pengajuan_homestay`
--
ALTER
TABLE
`pengajuan_homestay`
ADD
PRIMARY
KEY
(
`id`
),
ADD
KEY
`idPemilikHomestay`
(
`idPemilikHomestay`
),
ADD
KEY
`idPgwDinasPariwisata`
(
`idPgwDinasPariwisata`
);
--
-- Indexes for table `requestfasilitas`
--
ALTER
TABLE
`requestfasilitas`
ADD
PRIMARY
KEY
(
`id`
),
ADD
UNIQUE
KEY
`id_pemilik_homesaty`
(
`id_pemilik_homestay`
),
ADD
KEY
`id_kategoriFasiltas`
(
`id_kategoriFasiltas`
);
--
-- Indexes for table `users`
--
ALTER
TABLE
`users`
ADD
PRIMARY
KEY
(
`id`
),
ADD
UNIQUE
KEY
`users_email_unique`
(
`email`
),
ADD
UNIQUE
KEY
`username`
(
`username`
);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `dinaspariwisata`
--
ALTER
TABLE
`dinaspariwisata`
MODIFY
`idPegawai`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
3
;
--
-- AUTO_INCREMENT for table `feedback`
--
ALTER
TABLE
`feedback`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
;
--
-- AUTO_INCREMENT for table `homestay`
--
ALTER
TABLE
`homestay`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
10
;
--
-- AUTO_INCREMENT for table `kamar`
--
ALTER
TABLE
`kamar`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
12
;
--
-- AUTO_INCREMENT for table `kategorifasilitas`
--
ALTER
TABLE
`kategorifasilitas`
MODIFY
`idFasilitas`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
3
;
--
-- AUTO_INCREMENT for table `migrations`
--
ALTER
TABLE
`migrations`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
11
;
--
-- AUTO_INCREMENT for table `pelanggan`
--
ALTER
TABLE
`pelanggan`
MODIFY
`id_Pelanggan`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
5
;
--
-- AUTO_INCREMENT for table `pemesanan`
--
ALTER
TABLE
`pemesanan`
MODIFY
`idPemesanan`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
;
--
-- AUTO_INCREMENT for table `pemilikhomestay`
--
ALTER
TABLE
`pemilikhomestay`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
10
;
--
-- AUTO_INCREMENT for table `pengajuan_homestay`
--
ALTER
TABLE
`pengajuan_homestay`
MODIFY
`id`
int
(
10
)
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
5
;
--
-- AUTO_INCREMENT for table `requestfasilitas`
--
ALTER
TABLE
`requestfasilitas`
MODIFY
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
4
;
--
-- AUTO_INCREMENT for table `users`
--
ALTER
TABLE
`users`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
16
;
--
-- Ketidakleluasaan untuk tabel pelimpahan (Dumped Tables)
--
--
-- Ketidakleluasaan untuk tabel `feedback`
--
ALTER
TABLE
`feedback`
ADD
CONSTRAINT
`feedback_ibfk_1`
FOREIGN
KEY
(
`idPelanggan`
)
REFERENCES
`pelanggan`
(
`id_Pelanggan`
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
,
ADD
CONSTRAINT
`feedback_ibfk_2`
FOREIGN
KEY
(
`id_pemilikHomestay`
)
REFERENCES
`pemilikhomestay`
(
`id`
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
;
--
-- Ketidakleluasaan untuk tabel `homestay`
--
ALTER
TABLE
`homestay`
ADD
CONSTRAINT
`homestay_ibfk_1`
FOREIGN
KEY
(
`idPemilik`
)
REFERENCES
`pemilikhomestay`
(
`id`
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
;
--
-- Ketidakleluasaan untuk tabel `kamar`
--
ALTER
TABLE
`kamar`
ADD
CONSTRAINT
`kamar_ibfk_1`
FOREIGN
KEY
(
`idPemesanan`
)
REFERENCES
`pemesanan`
(
`idPemesanan`
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
,
ADD
CONSTRAINT
`kamar_ibfk_2`
FOREIGN
KEY
(
`idHomestay`
)
REFERENCES
`homestay`
(
`id`
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
;
--
-- Ketidakleluasaan untuk tabel `pembayaran`
--
ALTER
TABLE
`pembayaran`
ADD
CONSTRAINT
`pembayaran_ibfk_1`
FOREIGN
KEY
(
`idPemilikHomestay`
)
REFERENCES
`pemilikhomestay`
(
`id`
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
,
ADD
CONSTRAINT
`pembayaran_ibfk_2`
FOREIGN
KEY
(
`idPemesanan`
)
REFERENCES
`pemesanan`
(
`idPemesanan`
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
;
--
-- Ketidakleluasaan untuk tabel `pemesanan`
--
ALTER
TABLE
`pemesanan`
ADD
CONSTRAINT
`pemesanan_ibfk_2`
FOREIGN
KEY
(
`idPelanggan`
)
REFERENCES
`pelanggan`
(
`id_Pelanggan`
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
;
--
-- Ketidakleluasaan untuk tabel `pemilikhomestay`
--
ALTER
TABLE
`pemilikhomestay`
ADD
CONSTRAINT
`pemilikhomestay_ibfk_1`
FOREIGN
KEY
(
`id_Akun`
)
REFERENCES
`users`
(
`id`
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
;
--
-- Ketidakleluasaan untuk tabel `pengajuan_homestay`
--
ALTER
TABLE
`pengajuan_homestay`
ADD
CONSTRAINT
`pengajuan_homestay_ibfk_1`
FOREIGN
KEY
(
`idPemilikHomestay`
)
REFERENCES
`pemilikhomestay`
(
`id`
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
,
ADD
CONSTRAINT
`pengajuan_homestay_ibfk_2`
FOREIGN
KEY
(
`idPgwDinasPariwisata`
)
REFERENCES
`dinaspariwisata`
(
`idPegawai`
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
;
--
-- Ketidakleluasaan untuk tabel `requestfasilitas`
--
ALTER
TABLE
`requestfasilitas`
ADD
CONSTRAINT
`requestfasilitas_ibfk_1`
FOREIGN
KEY
(
`id_pemilik_homestay`
)
REFERENCES
`pemilikhomestay`
(
`id`
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
,
ADD
CONSTRAINT
`requestfasilitas_ibfk_2`
FOREIGN
KEY
(
`id_kategoriFasiltas`
)
REFERENCES
`kategorifasilitas`
(
`idFasilitas`
)
ON
DELETE
CASCADE
ON
UPDATE
CASCADE
;
/*!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 */
;
resources/views/vendor/adminlte/layouts/master.blade.php
View file @
84423928
...
...
@@ -15,7 +15,7 @@ scratch. This page gets rid of all links and provides the needed markup only.
@yield('main-content')
@include('adminlte::layouts.partialweb.
.
mainfooter')
@include('adminlte::layouts.partialweb.
.
scripts')
@include('adminlte::layouts.partialweb.mainfooter')
@include('adminlte::layouts.partialweb.scripts')
</body>
</html>
resources/views/vendor/adminlte/layouts/partialweb/htmlheader.blade.php
View file @
84423928
...
...
@@ -15,7 +15,7 @@
<!-- Index-Page-CSS -->
<link
rel=
"stylesheet"
href=
"css/style.css"
type=
"text/css"
media=
"all"
>
<!-- Animate.CSS -->
<link
rel=
"stylesheet"
href=
"css/animate.css"
type=
"text/css"
media=
"all"
>
<!-- Tanggal -->
<link
rel=
"stylesheet"
href=
"css/jquery-ui.css"
type=
"text/css"
media=
"all"
>
<!-- All css -->
<link
href=
"{{ asset('/css/all.css') }}"
rel=
"stylesheet"
type=
"text/css"
/
>
<!-- <!-- All css -->
<!-- <link href="{{ asset('/css/all.css') }}" rel="stylesheet" type="text/css" /> --
>
<!-- //Custom-Stylesheet-Links -->
<!-- Fonts -->
...
...
resources/views/vendor/adminlte/layouts/partialweb/mainheader.blade.php
View file @
84423928
...
...
@@ -73,7 +73,3 @@
<!-- //Navbar -->
<div
class=
"clearfix"
style=
"margin-bottom: 15px;"
></div>
</div>
<
<<<<<<
HEAD
=
======
>
>>>>>> 71ca9b89f790338b5956eb942bca68989bd853cb
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment