parent
b7b56d7399
commit
0df2353b34
@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration {
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::table('supply_demands', function (Blueprint $table) {
|
||||
// 资金类型
|
||||
$table->string('fund_type')->after('type')->default('')->comment('资金类型');
|
||||
// 金额
|
||||
$table->decimal('amount', 20, 2)->after('fund_type')->default(0.00)->comment('金额');
|
||||
// 融资阶段
|
||||
$table->string('fund_stage')->after('amount')->default('')->comment('融资阶段');
|
||||
// 期望资金属性
|
||||
$table->string('expect_fund_attr')->after('fund_stage')->default('')->comment('期望资金属性');
|
||||
// 行业类型
|
||||
$table->string('industry_type')->after('expect_fund_attr')->default('')->comment('行业类型');
|
||||
// 主要产品
|
||||
$table->string('product')->after('industry_type')->default('')->comment('主要产品');
|
||||
// 简要描述
|
||||
$table->string('desc')->after('product')->default('')->comment('简要描述');
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('supply_demands', function (Blueprint $table) {
|
||||
//
|
||||
});
|
||||
}
|
||||
};
|
||||
Loading…
Reference in new issue