mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-01-12 01:09:35 +01:00
Merge branch 'release/2.0.2'
This commit is contained in:
commit
4a9f73f6a1
@ -1,5 +1,10 @@
|
|||||||
# Change log
|
# Change log
|
||||||
|
|
||||||
|
## [2.0.2] - 2020-12-04
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- [issue #20](https://github.com/Bubka/2FAuth/issues/20) Issues using 'Protect sensible data'
|
||||||
|
|
||||||
## [2.0.1] - 2020-12-03
|
## [2.0.1] - 2020-12-03
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'version' => '2.0.1',
|
'version' => '2.0.2',
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
@ -0,0 +1,39 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Database\Migrations\Migration;
|
||||||
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
|
||||||
|
class AlterEncryptedColumnsToText extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Run the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function up()
|
||||||
|
{
|
||||||
|
if ('sqlite' !== config('database.default')) {
|
||||||
|
|
||||||
|
Schema::table('twofaccounts', function (Blueprint $table) {
|
||||||
|
$table->text('account')->change();
|
||||||
|
});
|
||||||
|
|
||||||
|
Schema::table('twofaccounts', function (Blueprint $table) {
|
||||||
|
$table->text('uri')->change();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Reverse the migrations.
|
||||||
|
*
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public function down()
|
||||||
|
{
|
||||||
|
Schema::table('twofaccounts', function (Blueprint $table) {
|
||||||
|
//
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user