id(); $table->bigInteger('employee_id')->comment('操作人'); $table->bigInteger('modified_employee_id')->comment('被操作人'); $table->set('type', ['CREATE', 'BASE', 'PASSWORD', 'BANK', 'SOCIAL', 'POWER'])->comment('操作类型'); $table->string('info')->comment('操作内容'); $table->string('ip',50)->comment('操作IP'); $table->timestamp('created_at')->comment('操作时间'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('uc_employee_modified_log_t'); } }