Updated models for encryption.

This commit is contained in:
James Cole
2015-05-23 08:46:46 +02:00
parent 1c2cbd5b40
commit f05002c729
10 changed files with 221 additions and 25 deletions

View File

@@ -131,8 +131,8 @@ class ChangesForV3409 extends Migration
// encrypt preference data (add field)
Schema::table(
'preferences', function (Blueprint $table) {
$table->smallInteger('name_encrypted', false, true)->default(0)->after('name');
$table->smallInteger('data_encrypted', false, true)->default(0)->after('data');
$table->text('name_encrypted')->nullable()->after('name');
$table->text('data_encrypted')->nullable()->after('data');
}
);