mirror of
https://github.com/filamentphp/filament.git
synced 2026-10-28 02:32:58 +08:00
rector
This commit is contained in:
@@ -11,8 +11,8 @@ return new class extends Migration
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('users', function (Blueprint $table) {
|
||||
$table->after('password', function (Blueprint $table) {
|
||||
Schema::table('users', function (Blueprint $table): void {
|
||||
$table->after('password', function (Blueprint $table): void {
|
||||
$table->json('json')->nullable();
|
||||
$table->string('email_code_authentication_secret')->nullable();
|
||||
$table->string('google_two_factor_authentication_secret')->nullable();
|
||||
@@ -26,7 +26,7 @@ return new class extends Migration
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('users', function (Blueprint $table) {
|
||||
Schema::table('users', function (Blueprint $table): void {
|
||||
$table->dropColumn([
|
||||
'email_code_authentication_secret',
|
||||
'google_two_factor_authentication_secret',
|
||||
|
||||
Reference in New Issue
Block a user