X7ROOT File Manager
Current Path:
/var/www/mpc/database/migrations
var
/
www
/
mpc
/
database
/
migrations
/
π
..
π
2014_10_12_000000_create_users_table.php
(746 B)
π
2014_10_12_100000_create_password_resets_table.php
(683 B)
π
2017_08_29_064643_create_admins_table.php
(589 B)
π
2017_09_07_041931_create_employees_table.php
(598 B)
π
2018_04_02_142137_create_permission_tables.php
(3.09 KB)
π
2018_04_07_170349_create_audits_table.php
(1.67 KB)
π
2018_04_16_035112_create_properties_table.php
(601 B)
π
2018_04_17_035707_create_residents_table.php
(598 B)
π
2018_04_20_015116_create_bookings_table.php
(595 B)
π
2018_04_20_135501_base_menu.php
(1.2 KB)
π
2018_04_26_092349_create_merchants_table.php
(598 B)
π
2018_04_30_021242_create_agents_table.php
(589 B)
π
2018_04_30_110901_create_products_table.php
(595 B)
π
2018_05_18_085338_create_orders_table.php
(589 B)
π
2018_06_29_002945_create_messagings_table.php
(601 B)
π
2018_11_11_073711_create_attendances_table.php
(604 B)
π
2018_11_28_130144_create_reports_table.php
(592 B)
π
2019_03_20_193639_create_permohonans_table.php
(604 B)
Editing: 2018_04_07_170349_create_audits_table.php
<?php /** * This file is part of the Laravel Auditing package. * * @author AntΓ©rio Vieira <anteriovieira@gmail.com> * @author Quetzy Garcia <quetzyg@altek.org> * @author Raphael FranΓ§a <raphaelfrancabsb@gmail.com> * @copyright 2015-2017 * * For the full copyright and license information, * please view the LICENSE.md file that was distributed * with this source code. */ use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Config; use Illuminate\Support\Facades\Schema; class CreateAuditsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::connection(Config::get('audit.drivers.database.connection')) ->create(Config::get('audit.drivers.database.table'), function (Blueprint $table) { $table->increments('id'); $table->unsignedInteger(Config::get('audit.user.foreign_key', 'user_id'))->nullable(); $table->string('event'); $table->morphs('auditable'); $table->text('old_values')->nullable(); $table->text('new_values')->nullable(); $table->text('url')->nullable(); $table->ipAddress('ip_address')->nullable(); $table->string('user_agent')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::connection(Config::get('audit.drivers.database.connection')) ->drop(Config::get('audit.drivers.database.table')); } }
Upload File
Create Folder