File "2016_01_25_094404_add_supervisor.php"
Full Path: /home/isoftco/public_html/hrm/database/2016_01_25_094404_add_supervisor.php
File size: 606 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddSupervisor extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('admins', function (Blueprint $table) {
$table->boolean('manager')->default(false);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('admins', function (Blueprint $table) {
$table->dropColumn('manager');
});
}
}