mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-20 08:30:06 +00:00
Default value and rename for encrypted field values.
This commit is contained in:
@@ -10,7 +10,7 @@ use Illuminate\Database\Schema\Blueprint;
|
|||||||
*
|
*
|
||||||
* Class ChangesForV325
|
* Class ChangesForV325
|
||||||
*/
|
*/
|
||||||
class ChangesFor325 extends Migration
|
class ChangesForV325 extends Migration
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -52,7 +52,7 @@ class ChangesFor325 extends Migration
|
|||||||
// allow journal descriptions to be encrypted.
|
// allow journal descriptions to be encrypted.
|
||||||
Schema::table(
|
Schema::table(
|
||||||
'transaction_journals', function (Blueprint $table) {
|
'transaction_journals', function (Blueprint $table) {
|
||||||
$table->boolean('encrypted');
|
$table->boolean('encrypted')->default(0);
|
||||||
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
Reference in New Issue
Block a user