when I make php artisan migrate:fresh and then create new admin with php artisan lit:admin it throws an error, because there are no defaults for the 2fa fields.
my solution in the migrations file:
$table->boolean('two_fa_enabled')->default(0);$table->string('two_fa_secret')->nullable();
when I make
php artisan migrate:fresh
and then create new admin withphp artisan lit:admin
it throws an error, because there are no defaults for the 2fa fields.my solution in the migrations file:
$table->boolean('two_fa_enabled')->default(0);
$table->string('two_fa_secret')->nullable();