Try removing concerned lines

This commit is contained in:
Bubka 2022-04-04 15:25:35 +02:00
parent 8c0ee4ff9c
commit 9ed037412f
2 changed files with 8 additions and 9 deletions

View File

@ -24,7 +24,6 @@ script:
- cp .env.travis .env
- php artisan config:clear
- php artisan key:generate
- sqlite3 --version
- DATABASE=sqlite vendor/bin/phpunit -c phpunit.xml --coverage-clover=coverage.xml
after_success:
@ -34,5 +33,5 @@ after_success:
# Monitor only these branches
branches:
only:
- master
# - dev
# - master
- dev

View File

@ -30,12 +30,12 @@ class SplitTwofaccountsUriInMultipleColumns extends Migration
$table->unsignedBigInteger('counter')->nullable();
});
Schema::table('twofaccounts', function (Blueprint $table){
$table->string('otp_type', 10)->nullable(false)->change();
$table->text('secret')->nullable(false)->change();
$table->string('algorithm', 20)->nullable(false)->change();
$table->unsignedSmallInteger('digits')->nullable(false)->change();
});
// Schema::table('twofaccounts', function (Blueprint $table){
// $table->string('otp_type', 10)->nullable(false)->change();
// $table->text('secret')->nullable(false)->change();
// $table->string('algorithm', 20)->nullable(false)->change();
// $table->unsignedSmallInteger('digits')->nullable(false)->change();
// });
// Apply previous migration 'AlterEncryptedColumnsToText' even to sqlite base
if ('sqlite' === $driver) {