Skip to content

A free open source IT asset/license management system

546 B
Raw Blame
<?php

use Illuminate\Database\Migrations\Migration;

class AddPhysicalToAssets extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        //
        Schema::table('assets', function ($table) {
            // $table->boolean('physical')->default(1);
            $table->dropColumn('checkedout_to');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        // $table->dropColumn('physical');
    }
}