Commit 0993241b by Azhan Hannan

project mandays migration

parent 055c4dc5
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class ChangeColumnTypeInProjectMandaysTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('project_mandays', function (Blueprint $table) {
$table->decimal('pm_days', 10, 1)->unsigned()->nullable()->change();
$table->decimal('pm_hours', 10, 1)->unsigned()->nullable()->change();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('project_mandays', function (Blueprint $table) {
//
});
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment