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.

70 lines
3.3 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::table('users', function (Blueprint $table) {
$table->comment('用户信息');
// 个人信息
$table->string('username')->nullable();
$table->string('password')->nullable();
$table->string('name')->nullable()->comment('名字');
$table->string('birthday')->nullable()->comment('出生年月');
$table->string('education')->nullable()->comment('学历-1小学2初中3高中4专科5本科6硕士7博士');
$table->string('school')->nullable()->comment('学校');
$table->string('speciality')->nullable()->comment('专业');
$table->text('honour')->nullable()->comment('荣誉');
$table->text('introduce')->nullable()->comment('个人简介');
$table->string('email')->nullable()->comment('邮箱');
// 公司信息
$table->string('company_name')->nullable()->comment('公司名称');
$table->string('company_position')->nullable()->comment('职务');
$table->string('company_has_share')->nullable()->comment('有无股份');
$table->string('company_area')->nullable()->comment('公司区域');
$table->string('company_type')->nullable()->comment('公司性质-上市,拟上市');
$table->string('company_industry')->nullable()->comment('公司所属行业');
$table->string('company_fund')->nullable()->comment('公司融资情况');
$table->string('company_need_fund')->nullable()->comment('公司是否需要融资-0否1是');
$table->text('company_introduce')->nullable()->comment('公司简介');
$table->date('company_date')->nullable()->comment('公司成立时间');
$table->string('company_other')->nullable()->comment('其他');
$table->string('company_address')->nullable()->comment('公司地址');
$table->text('company_product')->nullable()->comment('产品');
$table->string('overseas_experience')->nullable()->comment('海外经验');
$table->string('sales_volume')->nullable()->comment('销售额');
$table->string('valuation')->nullable()->comment('估值');
$table->string('market_value')->nullable()->comment('市值');
$table->string('is_yuanhe')->nullable()->comment('是否为元禾投资企业');
$table->string('sign_from')->nullable()->comment('来源渠道');
$table->string('remark')->nullable()->comment('备注');
$table->boolean('is_import')->nullable()->default(0)->comment('是否导入数据-0否1是');
$table->boolean('is_vip')->nullable()->default(0)->comment('是否vip-0否是');
$table->boolean('is_schoolmate')->nullable()->comment('是否在校友库-0否是');
$table->string('letter')->nullable()->comment('首字母');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('users', function (Blueprint $table) {
//
});
}
};