Default value and rename for encrypted field values.

This commit is contained in:
James Cole 2015-01-29 17:31:18 +01:00
parent 5aa1db293f
commit a734e04561

View File

@ -10,7 +10,7 @@ use Illuminate\Database\Schema\Blueprint;
*
* Class ChangesForV325
*/
class ChangesFor325 extends Migration
class ChangesForV325 extends Migration
{
/**
@ -52,7 +52,7 @@ class ChangesFor325 extends Migration
// allow journal descriptions to be encrypted.
Schema::table(
'transaction_journals', function (Blueprint $table) {
$table->boolean('encrypted');
$table->boolean('encrypted')->default(0);
}
);