mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Add block code [skip ci]
This commit is contained in:
parent
0e77574c26
commit
150b6fe5b6
@ -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
|
||||
{
|
||||
|
@ -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();
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user