[admin] add username change log

This commit is contained in:
xiaomlove
2022-08-10 23:38:10 +08:00
parent c074b1e1ed
commit b539eff587
16 changed files with 204 additions and 17 deletions

View File

@@ -16,6 +16,8 @@ return new class extends Migration
Schema::create('username_change_logs', function (Blueprint $table) {
$table->id();
$table->integer('uid');
$table->string('operator');
$table->integer('change_type')->nullable(false)->default(0);
$table->string('username_old');
$table->string('username_new');
$table->timestamps();