Browse Source

迁移

master
lemon 4 years ago
parent
commit
407070a460
  1. 32
      database/migrations/2021_09_17_141510_update_supplier_secend_table.php

32
database/migrations/2021_09_17_141510_update_supplier_secend_table.php

@ -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()
{
//
}
}
Loading…
Cancel
Save