cleanup check

This commit is contained in:
xiaomlove
2024-03-23 04:51:59 +08:00
parent 9f211df038
commit 287302df7f
17 changed files with 207 additions and 9 deletions

View File

@@ -0,0 +1,33 @@
<?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->string("secret")->default("")->nullable(false)->change();
$table->string("editsecret")->default("")->nullable(false)->change();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('users', function (Blueprint $table) {
//
});
}
};