File "2019_03_11_093614_nullable_expense_table.php"
Full Path: /home/isoftco/public_html/hrm/database/migrations/2019_03_11_093614_nullable_expense_table.php
File size: 507 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class NullableExpenseTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
DB::statement('ALTER TABLE `expenses` MODIFY `purchase_from` VARCHAR(255) NULL;');
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}