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
55c084a9
Commit
55c084a9
authored
Apr 19, 2017
by
Juliper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Migration
parent
6010e9cf
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
255 additions
and
6 deletions
+255
-6
2017_04_19_015436_T_User.php
database/migrations/2017_04_19_015436_T_User.php
+8
-2
2017_04_19_090402_Pelanggan.php
database/migrations/2017_04_19_090402_Pelanggan.php
+35
-0
2017_04_19_090837_Admin.php
database/migrations/2017_04_19_090837_Admin.php
+32
-0
2017_04_19_091320_DinasPariwisata.php
database/migrations/2017_04_19_091320_DinasPariwisata.php
+33
-0
2017_04_19_091651_PemilikiHomestay.php
database/migrations/2017_04_19_091651_PemilikiHomestay.php
+36
-0
2017_04_19_092041_Homestay.php
database/migrations/2017_04_19_092041_Homestay.php
+33
-0
2017_04_19_093353_Kamar.php
database/migrations/2017_04_19_093353_Kamar.php
+33
-0
2017_04_19_101431_Pemesanan.php
database/migrations/2017_04_19_101431_Pemesanan.php
+31
-0
autoload_classmap.php
vendor/composer/autoload_classmap.php
+7
-2
autoload_static.php
vendor/composer/autoload_static.php
+7
-2
No files found.
database/migrations/2017_04_19_015436_T_User.php
View file @
55c084a9
...
...
@@ -13,7 +13,13 @@ class TUser extends Migration
*/
public
function
up
()
{
//
Schema
::
create
(
'akun'
,
function
(
Blueprint
$table
)
{
$table
->
increments
(
'id'
);
$table
->
string
(
'username'
)
->
unique
();
$table
->
string
(
'password'
);
$table
->
string
(
'role'
);
$table
->
timestamps
();
});
}
/**
...
...
@@ -23,6 +29,6 @@ class TUser extends Migration
*/
public
function
down
()
{
//
Schema
::
drop
(
'akun'
);
}
}
database/migrations/2017_04_19_090402_Pelanggan.php
0 → 100644
View file @
55c084a9
<?php
use
Illuminate\Support\Facades\Schema
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Migrations\Migration
;
class
Pelanggan
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'Pelanggan'
,
function
(
Blueprint
$table
){
$table
->
increments
(
'idPelanggan'
);
$table
->
string
(
'nama'
);
$table
->
string
(
'alamat'
);
$table
->
string
(
'noTelepon'
);
$table
->
string
(
'pekerjaan'
);
$table
->
timestamp
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
drop
(
'Pelanggan'
);
}
}
database/migrations/2017_04_19_090837_Admin.php
0 → 100644
View file @
55c084a9
<?php
use
Illuminate\Support\Facades\Schema
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Migrations\Migration
;
class
Admin
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
cretae
(
'Admin'
,
function
(
Blueprint
$table
){
$table
->
increments
(
'idAdmin'
);
$table
->
string
(
'nama'
);
$table
->
timestamp
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
drop
(
'Admin'
);
}
}
database/migrations/2017_04_19_091320_DinasPariwisata.php
0 → 100644
View file @
55c084a9
<?php
use
Illuminate\Support\Facades\Schema
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Migrations\Migration
;
class
DinasPariwisata
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'DinasPariwisata'
,
function
(
Blueprint
$table
){
$table
->
increments
(
'idPegawai'
);
$table
->
string
(
'namaPegawai'
);
$table
->
string
(
'divisiPegawai'
);
$table
->
timestamp
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
drop
(
'DinasPariwisata'
);
}
}
database/migrations/2017_04_19_091651_PemilikiHomestay.php
0 → 100644
View file @
55c084a9
<?php
use
Illuminate\Support\Facades\Schema
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Migrations\Migration
;
class
PemilikiHomestay
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'PemilikHomestay'
,
function
(
Blueprint
$table
){
$table
->
increments
(
'idOwner'
);
$table
->
string
(
'nama'
);
$table
->
string
(
'alamat'
);
$table
->
string
(
'pekerjaan'
);
$table
->
string
(
'noTelepon'
);
$table
->
string
(
'noRekening'
);
$table
->
timestamp
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
drop
(
'PemilikHomestay'
);
}
}
database/migrations/2017_04_19_092041_Homestay.php
0 → 100644
View file @
55c084a9
<?php
use
Illuminate\Support\Facades\Schema
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Migrations\Migration
;
class
Homestay
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'Homestay'
,
function
(
Blueprint
$table
){
$table
->
increments
(
'idHomestay'
);
$table
->
string
(
'nama'
);
$table
->
string
(
'alamat'
);
$table
->
timestamp
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
drop
(
'Homestay'
);
}
}
database/migrations/2017_04_19_093353_Kamar.php
0 → 100644
View file @
55c084a9
<?php
use
Illuminate\Support\Facades\Schema
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Migrations\Migration
;
class
Kamar
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'Kamar'
,
function
(
Blueprint
$table
){
$table
->
increments
(
'idKamar'
);
$table
->
integer
(
'jumlahKamar'
);
$table
->
double
(
'harga'
);
$table
->
boolean
(
'status'
);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
drop
(
'Kamar'
);
}
}
database/migrations/2017_04_19_101431_Pemesanan.php
0 → 100644
View file @
55c084a9
<?php
use
Illuminate\Support\Facades\Schema
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Database\Migrations\Migration
;
class
Pemesanan
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
create
(
'Pemesanan'
,
function
(
Blueprint
$table
){
$table
->
increments
(
'idPemesanan'
);
$table
->
boolean
(
'status'
);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
drop
(
'Pemesanan'
);
}
}
vendor/composer/autoload_classmap.php
View file @
55c084a9
...
...
@@ -6,9 +6,9 @@ $vendorDir = dirname(dirname(__FILE__));
$baseDir
=
dirname
(
$vendorDir
);
return
array
(
'CreatePasswordResetsTable'
=>
$baseDir
.
'/database/migrations/2014_10_12_100000_create_password_resets_table.php'
,
'CreateUsersTable'
=>
$baseDir
.
'/database/migrations/2014_10_12_000000_create_users_table.php'
,
'Admin'
=>
$baseDir
.
'/database/migrations/2017_04_19_090837_Admin.php'
,
'DatabaseSeeder'
=>
$baseDir
.
'/database/seeds/DatabaseSeeder.php'
,
'DinasPariwisata'
=>
$baseDir
.
'/database/migrations/2017_04_19_091320_DinasPariwisata.php'
,
'File_Iterator'
=>
$vendorDir
.
'/phpunit/php-file-iterator/src/Iterator.php'
,
'File_Iterator_Facade'
=>
$vendorDir
.
'/phpunit/php-file-iterator/src/Facade.php'
,
'File_Iterator_Factory'
=>
$vendorDir
.
'/phpunit/php-file-iterator/src/Factory.php'
,
...
...
@@ -80,6 +80,8 @@ return array(
'Hamcrest\\Type\\IsString'
=>
$vendorDir
.
'/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsString.php'
,
'Hamcrest\\Util'
=>
$vendorDir
.
'/hamcrest/hamcrest-php/hamcrest/Hamcrest/Util.php'
,
'Hamcrest\\Xml\\HasXPath'
=>
$vendorDir
.
'/hamcrest/hamcrest-php/hamcrest/Hamcrest/Xml/HasXPath.php'
,
'Homestay'
=>
$baseDir
.
'/database/migrations/2017_04_19_092041_Homestay.php'
,
'Kamar'
=>
$baseDir
.
'/database/migrations/2017_04_19_093353_Kamar.php'
,
'PHPUnit\\Framework\\Assert'
=>
$vendorDir
.
'/phpunit/phpunit/src/ForwardCompatibility/Assert.php'
,
'PHPUnit\\Framework\\BaseTestListener'
=>
$vendorDir
.
'/phpunit/phpunit/src/ForwardCompatibility/BaseTestListener.php'
,
'PHPUnit\\Framework\\TestCase'
=>
$vendorDir
.
'/phpunit/phpunit/src/ForwardCompatibility/TestCase.php'
,
...
...
@@ -459,6 +461,9 @@ return array(
'PHP_Token_XOR_EQUAL'
=>
$vendorDir
.
'/phpunit/php-token-stream/src/Token.php'
,
'PHP_Token_YIELD'
=>
$vendorDir
.
'/phpunit/php-token-stream/src/Token.php'
,
'PHP_Token_YIELD_FROM'
=>
$vendorDir
.
'/phpunit/php-token-stream/src/Token.php'
,
'Pelanggan'
=>
$baseDir
.
'/database/migrations/2017_04_19_090402_Pelanggan.php'
,
'Pemesanan'
=>
$baseDir
.
'/database/migrations/2017_04_19_101431_Pemesanan.php'
,
'PemilikiHomestay'
=>
$baseDir
.
'/database/migrations/2017_04_19_091651_PemilikiHomestay.php'
,
'SebastianBergmann\\CodeCoverage\\CodeCoverage'
=>
$vendorDir
.
'/phpunit/php-code-coverage/src/CodeCoverage.php'
,
'SebastianBergmann\\CodeCoverage\\CoveredCodeNotExecutedException'
=>
$vendorDir
.
'/phpunit/php-code-coverage/src/Exception/CoveredCodeNotExecutedException.php'
,
'SebastianBergmann\\CodeCoverage\\Driver\\Driver'
=>
$vendorDir
.
'/phpunit/php-code-coverage/src/Driver/Driver.php'
,
...
...
vendor/composer/autoload_static.php
View file @
55c084a9
...
...
@@ -276,9 +276,9 @@ class ComposerStaticInitd2d33084b56c1e688e6f740aef5cfcf3
);
public
static
$classMap
=
array
(
'CreatePasswordResetsTable'
=>
__DIR__
.
'/../..'
.
'/database/migrations/2014_10_12_100000_create_password_resets_table.php'
,
'CreateUsersTable'
=>
__DIR__
.
'/../..'
.
'/database/migrations/2014_10_12_000000_create_users_table.php'
,
'Admin'
=>
__DIR__
.
'/../..'
.
'/database/migrations/2017_04_19_090837_Admin.php'
,
'DatabaseSeeder'
=>
__DIR__
.
'/../..'
.
'/database/seeds/DatabaseSeeder.php'
,
'DinasPariwisata'
=>
__DIR__
.
'/../..'
.
'/database/migrations/2017_04_19_091320_DinasPariwisata.php'
,
'File_Iterator'
=>
__DIR__
.
'/..'
.
'/phpunit/php-file-iterator/src/Iterator.php'
,
'File_Iterator_Facade'
=>
__DIR__
.
'/..'
.
'/phpunit/php-file-iterator/src/Facade.php'
,
'File_Iterator_Factory'
=>
__DIR__
.
'/..'
.
'/phpunit/php-file-iterator/src/Factory.php'
,
...
...
@@ -350,6 +350,8 @@ class ComposerStaticInitd2d33084b56c1e688e6f740aef5cfcf3
'Hamcrest\\Type\\IsString'
=>
__DIR__
.
'/..'
.
'/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsString.php'
,
'Hamcrest\\Util'
=>
__DIR__
.
'/..'
.
'/hamcrest/hamcrest-php/hamcrest/Hamcrest/Util.php'
,
'Hamcrest\\Xml\\HasXPath'
=>
__DIR__
.
'/..'
.
'/hamcrest/hamcrest-php/hamcrest/Hamcrest/Xml/HasXPath.php'
,
'Homestay'
=>
__DIR__
.
'/../..'
.
'/database/migrations/2017_04_19_092041_Homestay.php'
,
'Kamar'
=>
__DIR__
.
'/../..'
.
'/database/migrations/2017_04_19_093353_Kamar.php'
,
'PHPUnit\\Framework\\Assert'
=>
__DIR__
.
'/..'
.
'/phpunit/phpunit/src/ForwardCompatibility/Assert.php'
,
'PHPUnit\\Framework\\BaseTestListener'
=>
__DIR__
.
'/..'
.
'/phpunit/phpunit/src/ForwardCompatibility/BaseTestListener.php'
,
'PHPUnit\\Framework\\TestCase'
=>
__DIR__
.
'/..'
.
'/phpunit/phpunit/src/ForwardCompatibility/TestCase.php'
,
...
...
@@ -729,6 +731,9 @@ class ComposerStaticInitd2d33084b56c1e688e6f740aef5cfcf3
'PHP_Token_XOR_EQUAL'
=>
__DIR__
.
'/..'
.
'/phpunit/php-token-stream/src/Token.php'
,
'PHP_Token_YIELD'
=>
__DIR__
.
'/..'
.
'/phpunit/php-token-stream/src/Token.php'
,
'PHP_Token_YIELD_FROM'
=>
__DIR__
.
'/..'
.
'/phpunit/php-token-stream/src/Token.php'
,
'Pelanggan'
=>
__DIR__
.
'/../..'
.
'/database/migrations/2017_04_19_090402_Pelanggan.php'
,
'Pemesanan'
=>
__DIR__
.
'/../..'
.
'/database/migrations/2017_04_19_101431_Pemesanan.php'
,
'PemilikiHomestay'
=>
__DIR__
.
'/../..'
.
'/database/migrations/2017_04_19_091651_PemilikiHomestay.php'
,
'SebastianBergmann\\CodeCoverage\\CodeCoverage'
=>
__DIR__
.
'/..'
.
'/phpunit/php-code-coverage/src/CodeCoverage.php'
,
'SebastianBergmann\\CodeCoverage\\CoveredCodeNotExecutedException'
=>
__DIR__
.
'/..'
.
'/phpunit/php-code-coverage/src/Exception/CoveredCodeNotExecutedException.php'
,
'SebastianBergmann\\CodeCoverage\\Driver\\Driver'
=>
__DIR__
.
'/..'
.
'/phpunit/php-code-coverage/src/Driver/Driver.php'
,
...
...
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