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