|
|
|
@ -0,0 +1,32 @@ |
|
|
|
<?php |
|
|
|
|
|
|
|
use Illuminate\Database\Migrations\Migration; |
|
|
|
use Illuminate\Database\Schema\Blueprint; |
|
|
|
use Illuminate\Support\Facades\Schema; |
|
|
|
|
|
|
|
class UpdateSupplierSecendTable extends Migration |
|
|
|
{ |
|
|
|
/** |
|
|
|
* Run the migrations. |
|
|
|
* |
|
|
|
* @return void |
|
|
|
*/ |
|
|
|
public function up() |
|
|
|
{ |
|
|
|
Schema::table('suppliers', function (Blueprint $table) { |
|
|
|
$table->decimal('deposit_normal',10,2)->change(); |
|
|
|
$table->decimal('deposit_frozen',10,2)->change(); |
|
|
|
$table->decimal('deposit_used',10,2)->change(); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* Reverse the migrations. |
|
|
|
* |
|
|
|
* @return void |
|
|
|
*/ |
|
|
|
public function down() |
|
|
|
{ |
|
|
|
//
|
|
|
|
} |
|
|
|
} |