|
|
|
|
@ -13,7 +13,7 @@ return new class extends Migration {
|
|
|
|
|
public function up()
|
|
|
|
|
{
|
|
|
|
|
Schema::table('users', function (Blueprint $table) {
|
|
|
|
|
$table->string('no')->nullable()->comment('学号');
|
|
|
|
|
// $table->string('no')->nullable()->comment('学号');
|
|
|
|
|
$table->integer('company_id')->nullable()->comment('企业id');
|
|
|
|
|
$table->date('birthday')->nullable()->comment('生日')->change();
|
|
|
|
|
// no字段唯一索引
|
|
|
|
|
|