Skip to content

Commit

Permalink
fixing the composer package and updating styles
Browse files Browse the repository at this point in the history
  • Loading branch information
tnylea committed May 20, 2024
1 parent 8e8ed3c commit b5f1aba
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"laravel/socialite": "^5.0",
"calebporzio/sushi": "^2.5",
"pragmarx/google2fa": "^8.0",
"bacon/bacon-qr-code": "^2.0"
"bacon/bacon-qr-code": "^3.0"
},
"require-dev": {
"laravel/pint": "^1.15",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,24 @@
public function up(): void
{
Schema::table('users', function (Blueprint $table) {
$table->text('two_factor_secret')
->after('password')
->nullable();

if (!Schema::hasColumn('users', 'two_factor_secret')) {
$table->text('two_factor_secret')
->after('password')
->nullable();
}

$table->text('two_factor_recovery_codes')
->after('two_factor_secret')
->nullable();
if (!Schema::hasColumn('users', 'two_factor_recovery_codes')) {
$table->text('two_factor_recovery_codes')
->after('two_factor_secret')
->nullable();
}

$table->timestamp('two_factor_confirmed_at')
->after('two_factor_recovery_codes')
->nullable();
if (!Schema::hasColumn('users', 'two_factor_confirmed_at')) {
$table->timestamp('two_factor_confirmed_at')
->after('two_factor_recovery_codes')
->nullable();
}

});
}
Expand Down
2 changes: 1 addition & 1 deletion public/build/assets/styles.css

Large diffs are not rendered by default.

0 comments on commit b5f1aba

Please sign in to comment.