id(); $table->integer('admin_id')->nullable(); $table->integer('department_id')->nullable(); // 企业名字 $table->string('company_name')->nullable()->comment('企业名字'); // 行业类型 $table->string('company_type')->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->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('companies'); } };