36 lines
775 B
PHP
36 lines
775 B
PHP
|
<?php
|
||
|
|
||
|
use Illuminate\Database\Migrations\Migration;
|
||
|
use Illuminate\Database\Schema\Blueprint;
|
||
|
use Illuminate\Support\Facades\Schema;
|
||
|
|
||
|
class FastAccessLog extends Migration
|
||
|
{
|
||
|
/**
|
||
|
* Run the migrations.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function up()
|
||
|
{
|
||
|
Schema::table("access", function(Blueprint $table) {
|
||
|
$table->unsignedBigInteger("gallery")->nullable()->change();
|
||
|
$table->unsignedBigInteger("tenant")->nullable()->change();
|
||
|
});
|
||
|
|
||
|
Schema::table("traffic", function(Blueprint $table) {
|
||
|
$table->unsignedBigInteger("gallery")->nullable()->change();
|
||
|
});
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Reverse the migrations.
|
||
|
*
|
||
|
* @return void
|
||
|
*/
|
||
|
public function down()
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
}
|