completed POST,PUT,GET,DELETE

This commit is contained in:
Zain Fauzan Rofie Azizi
2018-05-24 16:55:58 +08:00
parent bd5d0076fe
commit ea95e8767d
4 changed files with 150 additions and 28 deletions
@@ -0,0 +1,34 @@
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddBooleanToDecisionsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('decisions', function (Blueprint $table) {
$table->boolean('decision_type')->change();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('decisions', function (Blueprint $table) {
//
});
}
}