Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
OSSD
Open Sauce
Commits
b0627deb
Commit
b0627deb
authored
Oct 25, 2020
by
aabccd021
Browse files
fixed mahasiswa table
parent
2ecf84fb
Changes
3
Hide whitespace changes
Inline
Side-by-side
admin/database/migrations/2020_10_25_095302_rename_mahasiswa_to_mahasiswas.php
0 → 100644
View file @
b0627deb
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
RenameMahasiswaToMahasiswas
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
rename
(
'mahasiswa'
,
'mahasiswas'
);
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
rename
(
'mahasiswas'
,
'mahasiswa'
);
}
}
admin/database/migrations/2020_10_25_100000_add_soft_deletes_in_mahasiswa_table.php
0 → 100644
View file @
b0627deb
<?php
use
Illuminate\Database\Migrations\Migration
;
use
Illuminate\Database\Schema\Blueprint
;
use
Illuminate\Support\Facades\Schema
;
class
AddSoftDeletesInMahasiswaTable
extends
Migration
{
/**
* Run the migrations.
*
* @return void
*/
public
function
up
()
{
Schema
::
table
(
'mahasiswas'
,
function
(
Blueprint
$table
)
{
$table
->
softDeletes
();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public
function
down
()
{
Schema
::
table
(
'mahasiswas'
,
function
(
Blueprint
$table
)
{
$table
->
dropSoftDeletes
();
});
}
}
admin/resources/views/admin/layouts/includes/sidebar.blade.php
View file @
b0627deb
...
...
@@ -30,7 +30,7 @@
<li><a
href=
"{{ route('admin.admins') }}"
>
Admins
</a></li>
<li><a
href=
"{{ route('admin.users') }}"
>
Users
</a></li>
<li><a
href=
"{{ route('admin.databases') }}"
>
Databases
</a></li>
<li><a
href=
"{{ route('admin.mahasiswas') }}"
>
Database
s
</a></li>
<li><a
href=
"{{ route('admin.mahasiswas') }}"
>
Mahasiswa
s
</a></li>
</ul>
</li>
</ul>
...
...
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