You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
2.7 KiB
65 lines
2.7 KiB
<?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::create('companies', function (Blueprint $table) {
|
|
$table->id();
|
|
$table->integer('admin_id')->nullable();
|
|
$table->integer('department_id')->nullable();
|
|
// 企业名字
|
|
$table->string('company_name')->nullable()->comment('企业名字');
|
|
// 行业类型
|
|
$table->string('company_attribute')->nullable()->comment('行业类型');
|
|
// 标签
|
|
$table->string('company_tag')->nullable()->comment('标签');
|
|
// 企业规模
|
|
$table->string('company_scale')->nullable()->comment('企业规模');
|
|
// 成立时间
|
|
$table->date('company_date')->nullable()->comment('成立时间');
|
|
// 法人代表
|
|
$table->string('company_legal_representative')->nullable()->comment('法人代表');
|
|
// 管理平台
|
|
$table->string('management_platform')->nullable()->comment('管理平台');
|
|
// 项目经理
|
|
$table->string('project_manager')->nullable()->comment('项目经理');
|
|
|
|
$table->bigInteger('market_value')->nullable()->comment('市值');
|
|
$table->bigInteger('company_fund')->nullable()->comment('公司融资情况');
|
|
$table->bigInteger('valuation')->nullable()->comment('估值');
|
|
$table->string('company_address')->nullable()->comment('公司地址');
|
|
$table->string('company_area')->nullable()->comment('公司区域');
|
|
|
|
$table->string('company_type')->nullable()->comment('公司性质-上市,拟上市');
|
|
$table->string('company_industry')->nullable()->comment('公司所属行业');
|
|
$table->string('company_need_fund')->nullable()->comment('公司是否需要融资-0否1是');
|
|
$table->text('company_introduce')->nullable()->comment('公司简介');
|
|
$table->string('company_other')->nullable()->comment('其他');
|
|
$table->text('company_product')->nullable()->comment('产品');
|
|
$table->string('overseas_experience')->nullable()->comment('海外经验');
|
|
$table->string('sales_volume')->nullable()->comment('销售额');
|
|
$table->timestamps();
|
|
$table->softDeletes();
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function down()
|
|
{
|
|
Schema::dropIfExists('companies');
|
|
}
|
|
};
|