diff --git a/database/migrations/2022_09_13_191255_add_banned_at_to_users.php b/database/migrations/2022_09_13_191255_add_banned_at_to_users.php new file mode 100644 index 0000000..e8aa195 --- /dev/null +++ b/database/migrations/2022_09_13_191255_add_banned_at_to_users.php @@ -0,0 +1,35 @@ +dateTime('banned_at')->nullable()->comment('封禁时间')->after('balance'); + // reason + $table->string('banned_reason')->nullable()->after('banned_at'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('users', function (Blueprint $table) { + // + }); + } +};