mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-14 08:56:39 +02:00
Fix the fix... getting me nuts
This commit is contained in:
parent
e749e3d98e
commit
691a055b58
@ -23,16 +23,15 @@ class SplitTwofaccountsUriInMultipleColumns extends Migration
|
|||||||
$table->string('otp_type', 10)->nullable();
|
$table->string('otp_type', 10)->nullable();
|
||||||
$table->text('secret')->nullable();
|
$table->text('secret')->nullable();
|
||||||
$table->string('algorithm', 20)->nullable();
|
$table->string('algorithm', 20)->nullable();
|
||||||
$table->unsignedTinyInteger('digits')->nullable();
|
$table->unsignedTinyInteger('digits')->default(6);
|
||||||
$table->unsignedInteger('period')->nullable();
|
$table->unsignedInteger('period')->nullable();
|
||||||
$table->unsignedBigInteger('counter')->nullable();
|
$table->unsignedBigInteger('counter')->nullable();
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('twofaccounts', function (Blueprint $table){
|
Schema::table('twofaccounts', function (Blueprint $table){
|
||||||
$table->string('otp_type')->nullable(false)->change();
|
$table->string('otp_type', 10)->nullable(false)->change();
|
||||||
$table->string('secret')->nullable(false)->change();
|
$table->text('secret')->nullable(false)->change();
|
||||||
$table->string('algorithm')->nullable(false)->change();
|
$table->string('algorithm', 20)->nullable(false)->change();
|
||||||
$table->string('digits')->nullable(false)->change();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('twofaccounts', function (Blueprint $table) {
|
Schema::table('twofaccounts', function (Blueprint $table) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user