Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Add block code [skip ci]
James Cole150b6fe5b6ad
diff --git a/app/User.php b/app/User.phpindex 3e31b0ae36..236a3e85e1 100644--- a/app/User.php+++ b/app/User.php@@ -36,6 +36,8 @@ use Zizaco\Entrust\Traits\EntrustUserTrait;* @property boolean $blocked* @property-read \Illuminate\Database\Eloquent\Collection|\FireflyIII\Models\Attachment[] $attachments* @method static \Illuminate\Database\Query\Builder|\FireflyIII\User whereBlocked($value)+ * @property string $blocked_code+ * @method static \Illuminate\Database\Query\Builder|\FireflyIII\User whereBlockedCode($value)*/class User extends Model implements AuthenticatableContract, CanResetPasswordContract{diff --git a/database/migrations/2015_07_17_190438_changes_for_v3410.php b/database/migrations/2015_07_17_190438_changes_for_v3410.phpindex 3892d3e881..33aafe2a19 100644--- a/database/migrations/2015_07_17_190438_changes_for_v3410.php+++ b/database/migrations/2015_07_17_190438_changes_for_v3410.php@@ -34,8 +34,14 @@ class ChangesForV3410 extends Migration});- }+ // add "blocked_code" to users:+ Schema::table(+ 'users', function (Blueprint $table) {+ $table->string('blocked_code', 25)->nullable();+ }+ );+ }/**